Sample rate increase using OpenBCI_32bit_SD_Only
I am getting this error every time I try to run the code
How do I proceed?
C:\Users\charles.schneider\AppData\Local\Temp\Temp1_OpenBCI_2kHz-master.zip\OpenBCI_2kHz-
master\OpenBCI_32bit_SD_Only\OpenBCI_32bit_SD_Only.ino: In function 'void loop()':
OpenBCI_32bit_SD_Only:242: error: 'writeBdataToSdCard' was not declared in this scope
if(Bin_format ) { writeBdataToSdCard(); if( IC4CON & 0x0008 ) { OBCI.ere |=0x400 ; OBCI.push(); } ; }
^
OpenBCI_32bit_SD_Only:251: error: 'writeDataToSDcard' was not declared in this scope
writeDataToSDcard ( SDsampleCounter++ );
^
OpenBCI_32bit_SD_Only:265: error: 'setupSDcard' was not declared in this scope
if(!SDfileOpen && SessionSize){ SDfileOpen = setupSDcard( /* & SessionSize */ ); if(!SDfileOpen)
SessionSize = 0 ; } // open a new file if the session is not finished
^
C:\Users\charles.schneider\AppData\Local\Temp\Temp1_OpenBCI_2kHz-master.zip\OpenBCI_2kHz-
master\OpenBCI_32bit_SD_Only\OpenBCI_32bit_SD_Only.ino: In function 'void eventSerial()':
OpenBCI_32bit_SD_Only:446: error: 'closeSDfile' was not declared in this scope
case 'j': if(SDfileOpen){ SDfileOpen = closeSDfile(); } SessionSize = 0 ; break;// close the file
and the session
^
OpenBCI_32bit_SD_Only:477: error: 'stampSD' was not declared in this scope
if(SDfileOpen) stampSD(ACTIVATE); // time stamp the start time
^
OpenBCI_32bit_SD_Only:492: error: 'stampSD' was not declared in this scope
if(SDfileOpen) stampSD(ACTIVATE); // time stamp the start time
^
OpenBCI_32bit_SD_Only:498: error: 'stampSD' was not declared in this scope
if(SDfileOpen) stampSD(DEACTIVATE); // time stamp the stop time
^
exit status 255
'writeBdataToSdCard' was not declared in this scope
Thank You
-Abdi
Comments