this class acts like a drop-in replacement for CytonSerial and CytonWifi.
It will play back files recorded with OpenBCI_GUI. These are normally called something like OpenBCI-RAW-2019-04-10_19-04-26.txt and contain OpenBCI Raw EEG Data.
File formats: older versions as well as version 5 are supported.
read and parse a text file.
| path |
a String pointing to a text file. |
| dataAction |
set the OpenBCI: -dataAction |
| initAction |
set the OpenBCI: -initAction |
| bufferSize |
how many datapoints to store in the internal buffer. |
reset sample rate. Rarely used - just for keeping the class consistent with OpenBCIboard,
start playing back data from the file.
stop playback.
stops main loop.