diff options
Diffstat (limited to 'pwm.h')
-rw-r--r-- | pwm.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -5,13 +5,14 @@ void pwmInit (); void pwmStart (); void pwmStop (); -void pwmSetBlink (const uint8_t, const uint8_t); +void pwmSet (const uint8_t, const uint8_t); -/* LED on (no blink) */ -#define PWM_BLINK_ON UINT8_MAX +/* LED on (max brightness) */ +#define PWM_ON UINT8_MAX /* LED off */ -#define PWM_BLINK_OFF 0 +#define PWM_OFF 0 #define PWM_LED_COUNT 6 +#define PWM_MAX_BRIGHTNESS 8 #endif /* PWM_H */ |