- add new mini function ledpwm_set that sets all LEDs at once (including
[moodlight.git] / ledpwm.h
index 7863ba1d6da141ecb4d0c99eb3d5f963b0f3f4f6..6d813193a8086a8a470db3617302bd1dfdbca90a 100644 (file)
--- a/ledpwm.h
+++ b/ledpwm.h
@@ -1,4 +1,4 @@
-/* $Id: ledpwm.h,v 1.2 2010/06/30 19:39:28 simimeie Exp $
+/* $Id: ledpwm.h,v 1.3 2010/07/10 07:34:51 simimeie Exp $
  * Functions for led brightness control via PWM (pulse width modulation).
  */
 
@@ -20,4 +20,7 @@ void ledpwm_init(void);
 /* Set brightness for a certain LED */
 void ledpwm_setled(uint8_t led, uint8_t val);
 
+/* Set brightness for all LEDs */
+void ledpwm_set(uint8_t red, uint8_t green, uint8_t blue, uint8_t br);
+
 #endif /* _LEDPWM_H_ */
This page took 0.056849 seconds and 4 git commands to generate.