-
-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Brainflow Board -- NeuroPawn Knight Board #747
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall
initialized = false; | ||
if (board_id == (int)BoardIds::NEUROPAWN_KNIGHT_BOARD) | ||
{ | ||
min_package_size = 21; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this if is not needed, there is just 1 board, so it will always be 21. Unless you are going to add more boards using this class
{ | ||
safe_logger (spdlog::level::err, "Unable to set port settings, res is {}", res); | ||
#ifndef _WIN32 | ||
return (int)BrainFlowExitCodes::SET_PORT_ERROR; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it under ifndef?
Btw you can also enable it in CI checks using emulator like for othet serial boards |
I think it will fix some CI jobs - 75d55cd rebase/merge master branch to your PR and it will be resolved Also, you may want to update docs here - https://github.com/brainflow-dev/brainflow/blob/master/docs/SupportedBoards.rst and I will need an image with white background or transparent of your device and I will take care of website update and get started page there |
NeuroPawn is a Canadian-based startup focused on providing accessible and affordable EEGs for educational purposes! This PR represents the Brainflow integration for the first model of our EEG hardware, the Knight Board.