osd-contiki/tests/led.h
Mariano Alvira 4b17c144d0 LEDs now indicate bit position (instead of (1 << pos)) which is more
consistent with how everything else works
2010-03-07 15:39:56 -05:00

9 lines
333 B
C

#ifndef LED_H
#define LED_H
#define LED_YELLOW ((1 << LED_RED) | (1 << LED_GREEN) )
#define LED_PURPLE ((1 << LED_RED) | (1 << LED_BLUE))
#define LED_CYAN ( (1 << LED_GREEN) | (1 << LED_BLUE))
#define LED_WHITE ((1 << LED_RED) | (1 << LED_GREEN) | (1 << LED_BLUE))
#endif