Software ADS1299 V2
good morning everyone
I'm trying to compile the source code for ads1299 board version 2, however I have a problem, show me the following errors:
<strong>ADS1299Manager.cpp: 10: error: 'ADS1299Manager' has not been declared
ADS1299Manager.cpp: In function 'void initialize ()':
ADS1299Manager.cpp: 11: error: 'OPENBCI_V2' was not declared in this scope
ADS1299Manager.cpp: At global scope:
ADS1299Manager.cpp: 15: error: 'ADS1299Manager' has not been declared
ADS1299Manager.cpp: In function 'void initialize (int)':
ADS1299Manager.cpp: 17: error: 'setVersionOpenBCI' was not declared in this scope
ADS1299Manager.cpp: 18: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 18: error: 'PIN_DRDY' was not declared in this scope
ADS1299Manager.cpp: 18: error: 'PIN_RST' was not declared in this scope
ADS1299Manager.cpp: 18: error: 'PIN_CS' was not declared in this scope
ADS1299Manager.cpp: 18: error: 'SCK_MHZ' was not declared in this scope
ADS1299Manager.cpp: 19: error: 'delay' was not declared in this scope
ADS1299Manager.cpp: 21: error: 'verbose' was not declared in this scope
ADS1299Manager.cpp: 22: error: 'reset' was not declared in this scope
ADS1299Manager.cpp: 27: error: 'ADSTESTSIG_AMP_1X' was not declared in this scope
ADS1299Manager.cpp: 27: error: 'ADSTESTSIG_PULSE_FAST' was not declared in this scope
ADS1299Manager.cpp: 27: error: 'configureInternalTestSignal' was not declared in this scope
ADS1299Manager.cpp: At global scope:
ADS1299Manager.cpp: 31: error: 'ADS1299Manager' has not been declared
ADS1299Manager.cpp: In function 'void setVersionOpenBCI (int)':
ADS1299Manager.cpp: 33: error: 'OPENBCI_V1' was not declared in this scope
ADS1299Manager.cpp: 34: error: 'use_neg_inputs' was not declared in this scope
ADS1299Manager.cpp: 35: error: 'OPENBCI_NCHAN' was not declared in this scope
ADS1299Manager.cpp: 36: error: 'use_SRB2' was not declared in this scope
ADS1299Manager.cpp: 39: error: 'use_neg_inputs' was not declared in this scope
ADS1299Manager.cpp: 40: error: 'OPENBCI_NCHAN' was not declared in this scope
ADS1299Manager.cpp: 41: error: 'use_SRB2' was not declared in this scope
ADS1299Manager.cpp: At global scope:
ADS1299Manager.cpp: 48: error: 'ADS1299Manager' has not been declared
ADS1299Manager.cpp: In function 'void reset ()':
ADS1299Manager.cpp: 50: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 51: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 53: error: 'delay' was not declared in this scope
ADS1299Manager.cpp: 57: error: 'deactivateChannel' was not declared in this scope
ADS1299Manager.cpp: 60: error: 'use_SRB1' was not declared in this scope
ADS1299Manager.cpp: 60: error: 'setSRB1' was not declared in this scope
ADS1299Manager.cpp: At global scope:
ADS1299Manager.cpp: 68: error: 'ADS1299Manager' has not been declared
ADS1299Manager.cpp: In function 'void deactivateChannel (int)':
ADS1299Manager.cpp: 70: error: 'byte' was not declared in this scope
ADS1299Manager.cpp: 70: error: expected `; 'before 'reg'
ADS1299Manager.cpp: 76: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 76: error: 'delay' was not declared in this scope
ADS1299Manager.cpp: 79: error: 'constrain' was not declared in this scope
ADS1299Manager.cpp: 80: error: 'reg' was not declared in this scope
ADS1299Manager.cpp: 80: error: 'CH1SET' was not declared in this scope
ADS1299Manager.cpp: 80: error: expected `; 'before 'N'
ADS1299Manager.cpp: 81: error: 'config' was not declared in this scope
ADS1299Manager.cpp: 81: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 82: error: 'bitset' was not declared in this scope
ADS1299Manager.cpp: 83: error: 'use_neg_inputs' was not declared in this scope
ADS1299Manager.cpp: 83: error: 'bitClear' was not declared in this scope
ADS1299Manager.cpp: 84: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 87: error: 'BIAS_SENSP' was not declared in this scope
ADS1299Manager.cpp: 87: error: 'use_neg_inputs' was not declared in this scope
ADS1299Manager.cpp: 87: error: 'BIAS_SENSN' was not declared in this scope
ADS1299Manager.cpp: 88: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 89: error: 'bitClear' was not declared in this scope
ADS1299Manager.cpp: 90: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: At global scope:
ADS1299Manager.cpp: 99: error: 'ADS1299Manager' has not been declared
ADS1299Manager.cpp: 99: error: 'byte' has not been declared
ADS1299Manager.cpp: 99: error: 'byte' has not been declared
ADS1299Manager.cpp: In function 'void activateChannel (int, int, int)':
ADS1299Manager.cpp: 105: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 105: error: 'delay' was not declared in this scope
ADS1299Manager.cpp: 109: error: 'constrain' was not declared in this scope
ADS1299Manager.cpp: 110: error: 'byte' was not declared in this scope
ADS1299Manager.cpp: 110: error: expected `; 'before 'configByte'
ADS1299Manager.cpp: 112: error: 'configByte' was not declared in this scope
ADS1299Manager.cpp: 115: error: 'use_SRB2' was not declared in this scope
ADS1299Manager.cpp: 116: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 116: error: 'CH1SET' was not declared in this scope
ADS1299Manager.cpp: 120: error: expected `; 'before 'reg'
ADS1299Manager.cpp: 120: error: 'use_neg_inputs' was not declared in this scope
ADS1299Manager.cpp: 120: error: 'reg' was not declared in this scope
ADS1299Manager.cpp: 120: error: 'BIAS_SENSN' was not declared in this scope
ADS1299Manager.cpp: 121: error: expected `; 'before 'biasSettings'
ADS1299Manager.cpp: 122: error: 'biasSettings' was not declared in this scope
ADS1299Manager.cpp: 122: error: 'bitset' was not declared in this scope
ADS1299Manager.cpp: 123: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 123: error: 'reg' was not declared in this scope
ADS1299Manager.cpp: 130: error: 'use_SRB1' was not declared in this scope
ADS1299Manager.cpp: 130: error: 'setSRB1' was not declared in this scope
ADS1299Manager.cpp: 133: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 133: error: 'CONFIG3' was not declared in this scope
ADS1299Manager.cpp: At global scope:
ADS1299Manager.cpp: 136: error: 'ADS1299Manager' has not been declared
ADS1299Manager.cpp: 136: error: variable or field 'setSRB1' declared void
ADS1299Manager.cpp: 136: error: 'boolean' was not declared in this scope </strong>
someone could help me with this problem? is there any special way to compile this?
I thank you for your help.
Keep up the work.
cheers Miguel Sousa
I'm trying to compile the source code for ads1299 board version 2, however I have a problem, show me the following errors:
<strong>ADS1299Manager.cpp: 10: error: 'ADS1299Manager' has not been declared
ADS1299Manager.cpp: In function 'void initialize ()':
ADS1299Manager.cpp: 11: error: 'OPENBCI_V2' was not declared in this scope
ADS1299Manager.cpp: At global scope:
ADS1299Manager.cpp: 15: error: 'ADS1299Manager' has not been declared
ADS1299Manager.cpp: In function 'void initialize (int)':
ADS1299Manager.cpp: 17: error: 'setVersionOpenBCI' was not declared in this scope
ADS1299Manager.cpp: 18: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 18: error: 'PIN_DRDY' was not declared in this scope
ADS1299Manager.cpp: 18: error: 'PIN_RST' was not declared in this scope
ADS1299Manager.cpp: 18: error: 'PIN_CS' was not declared in this scope
ADS1299Manager.cpp: 18: error: 'SCK_MHZ' was not declared in this scope
ADS1299Manager.cpp: 19: error: 'delay' was not declared in this scope
ADS1299Manager.cpp: 21: error: 'verbose' was not declared in this scope
ADS1299Manager.cpp: 22: error: 'reset' was not declared in this scope
ADS1299Manager.cpp: 27: error: 'ADSTESTSIG_AMP_1X' was not declared in this scope
ADS1299Manager.cpp: 27: error: 'ADSTESTSIG_PULSE_FAST' was not declared in this scope
ADS1299Manager.cpp: 27: error: 'configureInternalTestSignal' was not declared in this scope
ADS1299Manager.cpp: At global scope:
ADS1299Manager.cpp: 31: error: 'ADS1299Manager' has not been declared
ADS1299Manager.cpp: In function 'void setVersionOpenBCI (int)':
ADS1299Manager.cpp: 33: error: 'OPENBCI_V1' was not declared in this scope
ADS1299Manager.cpp: 34: error: 'use_neg_inputs' was not declared in this scope
ADS1299Manager.cpp: 35: error: 'OPENBCI_NCHAN' was not declared in this scope
ADS1299Manager.cpp: 36: error: 'use_SRB2' was not declared in this scope
ADS1299Manager.cpp: 39: error: 'use_neg_inputs' was not declared in this scope
ADS1299Manager.cpp: 40: error: 'OPENBCI_NCHAN' was not declared in this scope
ADS1299Manager.cpp: 41: error: 'use_SRB2' was not declared in this scope
ADS1299Manager.cpp: At global scope:
ADS1299Manager.cpp: 48: error: 'ADS1299Manager' has not been declared
ADS1299Manager.cpp: In function 'void reset ()':
ADS1299Manager.cpp: 50: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 51: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 53: error: 'delay' was not declared in this scope
ADS1299Manager.cpp: 57: error: 'deactivateChannel' was not declared in this scope
ADS1299Manager.cpp: 60: error: 'use_SRB1' was not declared in this scope
ADS1299Manager.cpp: 60: error: 'setSRB1' was not declared in this scope
ADS1299Manager.cpp: At global scope:
ADS1299Manager.cpp: 68: error: 'ADS1299Manager' has not been declared
ADS1299Manager.cpp: In function 'void deactivateChannel (int)':
ADS1299Manager.cpp: 70: error: 'byte' was not declared in this scope
ADS1299Manager.cpp: 70: error: expected `; 'before 'reg'
ADS1299Manager.cpp: 76: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 76: error: 'delay' was not declared in this scope
ADS1299Manager.cpp: 79: error: 'constrain' was not declared in this scope
ADS1299Manager.cpp: 80: error: 'reg' was not declared in this scope
ADS1299Manager.cpp: 80: error: 'CH1SET' was not declared in this scope
ADS1299Manager.cpp: 80: error: expected `; 'before 'N'
ADS1299Manager.cpp: 81: error: 'config' was not declared in this scope
ADS1299Manager.cpp: 81: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 82: error: 'bitset' was not declared in this scope
ADS1299Manager.cpp: 83: error: 'use_neg_inputs' was not declared in this scope
ADS1299Manager.cpp: 83: error: 'bitClear' was not declared in this scope
ADS1299Manager.cpp: 84: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 87: error: 'BIAS_SENSP' was not declared in this scope
ADS1299Manager.cpp: 87: error: 'use_neg_inputs' was not declared in this scope
ADS1299Manager.cpp: 87: error: 'BIAS_SENSN' was not declared in this scope
ADS1299Manager.cpp: 88: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 89: error: 'bitClear' was not declared in this scope
ADS1299Manager.cpp: 90: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: At global scope:
ADS1299Manager.cpp: 99: error: 'ADS1299Manager' has not been declared
ADS1299Manager.cpp: 99: error: 'byte' has not been declared
ADS1299Manager.cpp: 99: error: 'byte' has not been declared
ADS1299Manager.cpp: In function 'void activateChannel (int, int, int)':
ADS1299Manager.cpp: 105: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 105: error: 'delay' was not declared in this scope
ADS1299Manager.cpp: 109: error: 'constrain' was not declared in this scope
ADS1299Manager.cpp: 110: error: 'byte' was not declared in this scope
ADS1299Manager.cpp: 110: error: expected `; 'before 'configByte'
ADS1299Manager.cpp: 112: error: 'configByte' was not declared in this scope
ADS1299Manager.cpp: 115: error: 'use_SRB2' was not declared in this scope
ADS1299Manager.cpp: 116: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 116: error: 'CH1SET' was not declared in this scope
ADS1299Manager.cpp: 120: error: expected `; 'before 'reg'
ADS1299Manager.cpp: 120: error: 'use_neg_inputs' was not declared in this scope
ADS1299Manager.cpp: 120: error: 'reg' was not declared in this scope
ADS1299Manager.cpp: 120: error: 'BIAS_SENSN' was not declared in this scope
ADS1299Manager.cpp: 121: error: expected `; 'before 'biasSettings'
ADS1299Manager.cpp: 122: error: 'biasSettings' was not declared in this scope
ADS1299Manager.cpp: 122: error: 'bitset' was not declared in this scope
ADS1299Manager.cpp: 123: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 123: error: 'reg' was not declared in this scope
ADS1299Manager.cpp: 130: error: 'use_SRB1' was not declared in this scope
ADS1299Manager.cpp: 130: error: 'setSRB1' was not declared in this scope
ADS1299Manager.cpp: 133: error: 'ADS1299' has not been declared
ADS1299Manager.cpp: 133: error: 'CONFIG3' was not declared in this scope
ADS1299Manager.cpp: At global scope:
ADS1299Manager.cpp: 136: error: 'ADS1299Manager' has not been declared
ADS1299Manager.cpp: 136: error: variable or field 'setSRB1' declared void
ADS1299Manager.cpp: 136: error: 'boolean' was not declared in this scope </strong>
someone could help me with this problem? is there any special way to compile this?
I thank you for your help.
Keep up the work.
cheers Miguel Sousa
Comments
On the Teensy 3.1 the maximum SCLK speed is a little over 3 MHz at 96 MHz main clock. That's not enough when you try to read back 9 x 24 bit at 16 kHz. You'll be limited to 8 kSPS at best, depending on your implementation. You can try my library, it has been tested with an ADS1298 and a Teensy 3.1, so it might just work for you. You can find it at https://github.com/ferdinandkeil/ADS129X.
Ferdinand