|
HRI board firmware
v2.1
Microcontroller firmware of the board used during the HRI labs.
|
Driver to control a LEDs row. More...
Functions | |
| void | led_Init (void) |
| Initializes the LEDs module. More... | |
| float32_t | led_Get (int ledIndex) |
| Gets the intensity of a single LED. More... | |
| void | led_Set (int ledIndex, float32_t brightness) |
| Sets the intensity of a single LED. More... | |
Driver to control a LEDs row.
Call led_Init() first in the initialization code. Then, call led_Set() to set the LEDs ON or OFF.
| float32_t led_Get | ( | int | ledIndex | ) |
Gets the intensity of a single LED.
| ledIndex | LED index (0, 1, 2 or 3). |
| void led_Init | ( | void | ) |
Initializes the LEDs module.
| void led_Set | ( | int | ledIndex, |
| float32_t | brightness | ||
| ) |
Sets the intensity of a single LED.
| ledIndex | LED index (0, 1, 2 or 3). |
| brightness | the LED intensity [0.0-1.0]. |
1.8.13