Contiki-NG
|
A LED logical representation. More...
#include <os/dev/leds.h>
A LED logical representation.
pin corresponds to the GPIO pin a LED is driven by, using GPIO HAL pin representation.
port corresponds to the GPIO port that the pin is connected to. This only makes sense if GPIO_HAL_CONF_PORT_PIN_NUMBERING is non-zero.
negative_logic should be set to false if the LED is active low.