CubeBaseIF
Hierarchy
- CubeBaseIF
Implemented by
Index
Properties
Methods
Properties
batteryChar
• batteryChar: CubeBatteryChar | undefined
Defined in cube/cubeBase.ts:37
buttonChar
• buttonChar: CubeButtonChar | undefined
Defined in cube/cubeBase.ts:39
configChar
• configChar: CubeConfigChar | undefined
Defined in cube/cubeBase.ts:40
idChar
• idChar: CubeIDChar | undefined
Defined in cube/cubeBase.ts:33
lightChar
• lightChar: CubeLightChar | undefined
Defined in cube/cubeBase.ts:35
motorChar
• motorChar: CubeMotorChar | undefined
Defined in cube/cubeBase.ts:34
sensorChar
• sensorChar: CubeSensorChar | undefined
Defined in cube/cubeBase.ts:36
soundChar
• soundChar: CubeSoundChar | undefined
Defined in cube/cubeBase.ts:38
Methods
connect
▸ connect(): Promise‹CubeBase›
Defined in cube/cubeBase.ts:29
Returns: Promise‹CubeBase›
disconnect
▸ disconnect(): void
Defined in cube/cubeBase.ts:30
Returns: void
setFrameRate
▸ setFrameRate(fps
: number): void
Defined in cube/cubeBase.ts:31
Parameters:
Name | Type |
---|---|
fps | number |
Returns: void