Skip to content

Feature request: User callback function in the DefaultBoard.ino #67

@gerrievanzyl

Description

@gerrievanzyl

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions