(
boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET)
| 440 | } |
| 441 | |
| 442 | public static getBatteryChannel( |
| 443 | boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET): number |
| 444 | { |
| 445 | const value = [0]; |
| 446 | const res = BoardControllerDLL.getInstance().getBatteryChannel(boardId, preset, value); |
| 447 | if (res !== BrainFlowExitCodes.STATUS_OK) |
| 448 | { |
| 449 | throw new BrainFlowError (res, 'Could not get such data from this device'); |
| 450 | } |
| 451 | return value[0]; |
| 452 | } |
| 453 | |
| 454 | public static getSamplingRate( |
| 455 | boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET): number |
nothing calls this directly
no test coverage detected