Microchip® Advanced Software Framework

leds.h File Reference
#include "contiki-conf.h"

Macros

#define LEDS_ALL   (LEDS_GREEN | LEDS_YELLOW | LEDS_RED | LEDS_BLUE)
 
#define LEDS_BLUE   LEDS_YELLOW
 
#define LEDS_GREEN   1
 
#define LEDS_RED   1
 
#define LEDS_YELLOW   2
 

Functions

unsigned char leds_arch_get (void)
 
void leds_arch_init (void)
 Leds implementation. More...
 
void leds_arch_set (unsigned char leds)
 
void leds_blink (void)
 Blink all LEDs. More...
 
unsigned char leds_get (void)
 Returns the current status of all leds (respects invert) More...
 
void leds_init (void)
 
void leds_invert (unsigned char leds)
 
void leds_off (unsigned char leds)
 
void leds_on (unsigned char leds)
 
void leds_toggle (unsigned char leds)