1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-04 22:17:39 +08:00
hybridgroup.gobot/platforms/i2c/docs/commands_blinkm.md

53 lines
631 B
Markdown
Raw Normal View History

# Functions
## FirmwareVersion
Returs the version of the current Frimware.
### Returns
- **string** - Firmware Version
#### API Command
**FirmwareVersionC**
## Color
Returns the color of the LED.
#### Returns
- **[]byte** - the RGB LED color
#### API Command
**ColorC**
## Rgb(r byte, g byte, b byte)
Sets the RGB color.
#### Params
- **r** - **byte** - Red
- **g** - **byte** - Green
- **b** - **byte** - Blue
#### API Command
**RgbC**
## Fade(r byte, g byte, b byte)
Fades the RGB color.
#### Params
- **r** - **byte** - Red
- **g** - **byte** - Green
- **b** - **byte** - Blue
#### API Command
**FadeC**