The blinkenlight proxy provides an interface to a (possibly colored and/or blinking) indicator light.
More...
|
| PLAYERC_EXPORT playerc_blinkenlight_t * | playerc_blinkenlight_create (playerc_client_t *client, int index) |
| | Create a blinkenlight proxy. More...
|
| |
| PLAYERC_EXPORT void | playerc_blinkenlight_destroy (playerc_blinkenlight_t *device) |
| | Destroy a blinkenlight proxy. More...
|
| |
| PLAYERC_EXPORT int | playerc_blinkenlight_subscribe (playerc_blinkenlight_t *device, int access) |
| | Subscribe to the blinkenlight device. More...
|
| |
| PLAYERC_EXPORT int | playerc_blinkenlight_unsubscribe (playerc_blinkenlight_t *device) |
| | Un-subscribe from the blinkenlight device. More...
|
| |
| PLAYERC_EXPORT int | playerc_blinkenlight_enable (playerc_blinkenlight_t *device, uint32_t enable) |
| | Enable/disable power to the blinkenlight device. More...
|
| |
| PLAYERC_EXPORT int | playerc_blinkenlight_color (playerc_blinkenlight_t *device, uint32_t id, uint8_t red, uint8_t green, uint8_t blue) |
| | Set the output color for the blinkenlight device. More...
|
| |
| PLAYERC_EXPORT int | playerc_blinkenlight_blink (playerc_blinkenlight_t *device, uint32_t id, float period, float duty_cycle) |
| | Make the light blink, setting the period in seconds and the mark/space ratiom (0.0 to 1.0). More...
|
| |
The blinkenlight proxy provides an interface to a (possibly colored and/or blinking) indicator light.
| PLAYERC_EXPORT int playerc_blinkenlight_blink |
( |
playerc_blinkenlight_t * |
device, |
|
|
uint32_t |
id, |
|
|
float |
period, |
|
|
float |
duty_cycle |
|
) |
| |
Make the light blink, setting the period in seconds and the mark/space ratiom (0.0 to 1.0).
| PLAYERC_EXPORT int playerc_blinkenlight_color |
( |
playerc_blinkenlight_t * |
device, |
|
|
uint32_t |
id, |
|
|
uint8_t |
red, |
|
|
uint8_t |
green, |
|
|
uint8_t |
blue |
|
) |
| |
Set the output color for the blinkenlight device.
Create a blinkenlight proxy.
Destroy a blinkenlight proxy.
Enable/disable power to the blinkenlight device.
Subscribe to the blinkenlight device.
Un-subscribe from the blinkenlight device.