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:
Gergely Nagy
2016-12-11 09:55:43 +01:00
parent ed0b51dbff
commit 5ee11c2f8f
2 changed files with 10 additions and 4 deletions

View File

@@ -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