Library for NXP MCU I2C RGB LED DEMO board (6 x PCA9635)
Warning
When the original NXP demo board is connected to another mcu board : Disable the on-board 8051 mcu.
Diff: PCA9635_6.cpp
- Revision:
- 1:b89b54759940
- Parent:
- 0:1258ad754d9c
--- a/PCA9635_6.cpp Mon Mar 31 18:38:01 2014 +0000 +++ b/PCA9635_6.cpp Tue Apr 01 20:03:30 2014 +0000 @@ -241,4 +241,9 @@ *B = RGB_LED[LEDn].BLUE.buf[RGB_LED[LEDn].BLUE.n]; } +void PCA9635_6::set_global_intensity(uint8_t globi) +{ + GLOBAL_INTENSITY[2] = globi; +} +