(
boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET)
| 633 | } |
| 634 | |
| 635 | public static getOtherChannels( |
| 636 | boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET): number[] |
| 637 | { |
| 638 | const numChannels = [0]; |
| 639 | const сhannels = [...new Array (512).fill(0)]; |
| 640 | const res = BoardControllerDLL.getInstance().getOtherChannels( |
| 641 | boardId, preset, сhannels, numChannels); |
| 642 | if (res !== BrainFlowExitCodes.STATUS_OK) |
| 643 | { |
| 644 | throw new BrainFlowError (res, 'Could not get board info'); |
| 645 | } |
| 646 | return сhannels.slice(0, numChannels[0]); |
| 647 | } |
| 648 | |
| 649 | public static getTemperatureChannels( |
| 650 | boardId: BoardIds, preset = BrainFlowPresets.DEFAULT_PRESET): number[] |
nothing calls this directly
no test coverage detected