aboutsummaryrefslogtreecommitdiff
path: root/pwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'pwm.h')
-rw-r--r--pwm.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/pwm.h b/pwm.h
index f170573..96deaae 100644
--- a/pwm.h
+++ b/pwm.h
@@ -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 */