-
Notifications
You must be signed in to change notification settings - Fork 98
Description
This suggestion may make the firmware more hackable by users with limited experience.
To make small changes how/what data is logged, would it be possible to create user function in DefaultBoard.ino that is called just before data is written to serial, wifi and SD card (something like void userDataProcessing() ). This would be setup as a simple call back that is run just before the EEG and accel/aux data is written out.
The purpose of this callback would be to give users one simple place to make any modifications to the data before it is written out. This would eliminate the need for users to mess with any of the Library code.
For example: to insert "markers" into the data streams the callback function would allow someone the ability to change the auxData[] values just before they are written out.
Make sense?