Set board to digital mode in brainflow

edited September 2022 in Cyton

I have an external push button connected to D13. I use brainflow and set the board to digital mode by sending '/3':
BoardShim.prepare_session();
BoardShim.config_board("/3");
BoardShim.start_stream();

The data I'm reading is:
3, 180736.40625, 169372.546875, 113547.0390625, 95295.875, 150741.953125, 153965.578125, 187500, 187500, 0, 0, 0, 193, 0, 0, 0, 0, 0, 0, 257, 256, 1, 1663625087.61525

Does it look like the board hasn't set to digital mode? Which one would be the port D13?
The push button works in OpenBCIGUI when I turn on digital read using the widget.

Comments

  • wjcroftwjcroft Mount Shasta, CA

    What do you see with the same push button if you use analog mode?

  • Fixed! Updated brainflow to the latest version: pin D13 is receivedData[15] or get_other_channels[3]

Sign In or Register to comment.