MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / get_resistance_channels

Method get_resistance_channels

cpp_package/src/board_shim.cpp:595–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

593}
594
595std::vector<int> BoardShim::get_resistance_channels (int board_id, int preset)
596{
597 int channels[MAX_CHANNELS];
598 int len = 0;
599 int res = ::get_resistance_channels (board_id, preset, channels, &len);
600 if (res != (int)BrainFlowExitCodes::STATUS_OK)
601 {
602 throw BrainFlowException ("failed to get board info", res);
603 }
604 return std::vector<int> (channels, channels + len);
605}
606
607std::vector<int> BoardShim::get_magnetometer_channels (int board_id, int preset)
608{

Callers

nothing calls this directly

Calls 2

get_resistance_channelsFunction · 0.85
BrainFlowExceptionClass · 0.85

Tested by

no test coverage detected