This is the description of the Modbus protocol for the RGB LED Bricklet. General information and technical specifications for the RGB LED Bricklet are summarized in its hardware description.
A general description of the Modbus protocol structure can be found here.
BrickletRGBLED.
set_rgb_value
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Sets the r, g and b values for the LED.
BrickletRGBLED.
get_rgb_value
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Returns the r, g and b values of the LED as set by set_rgb_value
.
BrickletRGBLED.
get_identity
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Returns the UID, the UID where the Bricklet is connected to, the position, the hardware and firmware version as well as the device identifier.
The position can be 'a', 'b', 'c', 'd', 'e', 'f', 'g' or 'h' (Bricklet Port). A Bricklet connected to an Isolator Bricklet is always at position 'z'.
The device identifier numbers can be found here.