LEDs: Add a method to set all LEDs to a given brightness
Mostly for testing purposes, but can be used later for backlight up/down stuff, too. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
|
||||
extern void LedDriver_WriteBuffer(uint8_t i2cAddress, uint8_t buffer[], uint8_t size);
|
||||
extern void LedDriver_WriteRegister(uint8_t i2cAddress, uint8_t reg, uint8_t val);
|
||||
extern void LedDriver_SetAllLedsTo(uint8_t val);
|
||||
extern void LedDriver_InitAllLeds(char isEnabled);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user