CubeCharIF
Hierarchy
- CubeCharIF
Implemented by
- CubeBatteryChar
- CubeButtonChar
- CubeChar
- CubeConfigChar
- CubeIDChar
- CubeLightChar
- CubeMotorChar
- CubeSensorChar
- CubeSoundChar
Index
Methods
Methods
prepare
▸ prepare(): Promise‹string | Error›
Defined in cube/char/char.ts:2
Returns: Promise‹string | Error›
readValue
▸ readValue(): Promise‹DataView›
Defined in cube/char/char.ts:4
Returns: Promise‹DataView›
setFrameRate
▸ setFrameRate(fps
: number): void
Defined in cube/char/char.ts:5
Parameters:
Name | Type |
---|---|
fps | number |
Returns: void
writeValue
▸ writeValue(buf
: ArrayBuffer): Promise‹string | Error›
Defined in cube/char/char.ts:3
Parameters:
Name | Type |
---|---|
buf | ArrayBuffer |
Returns: Promise‹string | Error›