X-Git-Url: http://git.rrze.uni-erlangen.de/gitweb/?p=moodlight.git;a=blobdiff_plain;f=ledpwm.h;h=6d813193a8086a8a470db3617302bd1dfdbca90a;hp=7863ba1d6da141ecb4d0c99eb3d5f963b0f3f4f6;hb=de0e300b1431bf1de890846f98c7511cb820ee7c;hpb=0c8766f4bef6efd0c2699ebb6782e1b5c1fe3477 diff --git a/ledpwm.h b/ledpwm.h index 7863ba1..6d81319 100644 --- 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_ */