Skip to content
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

Closed
wants to merge 0 commits into from

Conversation

Kevin-Xue01
Copy link
Contributor

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.

Copy link
Member

@Andrey1994 Andrey1994 left a 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;
Copy link
Member

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;
Copy link
Member

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?

@Andrey1994
Copy link
Member

Btw you can also enable it in CI checks using emulator like for othet serial boards

@Andrey1994
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants