]> www.fi.muni.cz Git - bike-lights.git/blobdiff - firmware/lights.h
gpio leds according to new pins.txt
[bike-lights.git] / firmware / lights.h
index c0daaef6175e74c180dceeef2cc2f4e651d585bb..d7f00651e02235ce4584fa19bb4ec91fc41f03be 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef LIGHTS_H__
 #define LIGHTS_H__ 1
 
-#define N_LEDS 5
+#define N_LEDS 7
 #define N_PWMLEDS 3
 #define N_PWMLED_MODES 4
 
@@ -43,9 +43,6 @@ unsigned char pwmled_needs_adc(unsigned char n);
 unsigned char pwmled_enabled(unsigned char n);
 
 /* gpio.c */
-#define GPIO_LED1 0
-#define GPIO_LED2 1
-
 void gpio_init();
 void gpio_set(unsigned char n, unsigned char on);