Extensionthis class acts like a drop-in replacement for CytonSerial and CytonWifi.
the synthetic data generated put gaussian noise on all channels and then modify the first four channels in the following manner...
start generating test data
| numChannels |
use 8 for faking Cyton board, 4 for Ganglion etc. |
| sampleRate |
use 250 for faking Cyton over bluetooth, 200 for Ganglion over bluetooth etc. |
| 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 streaming synthetic data.
stop streaming synthetic data.
stops main loop.
Turn off noise by setting this to 0.0 - just for help debugging.