include/led.h File Reference

LED functions. More...

#include <avr/io.h>

Go to the source code of this file.

Functions

void led_on (uint8_t dir)
void led_off (uint8_t dir)
void led_set (uint8_t mask)

Detailed Description

LED functions.

Definition in file led.h.


Function Documentation

void led_off ( uint8_t  dir)

turn specified led(s) off

Parameters:
[in]dirDirection(s) of the selected led(s)
void led_on ( uint8_t  dir)

turn specified led(s) on

Parameters:
[in]dirDirection(s) of the selected led(s)
void led_set ( uint8_t  mask)

set all leds

Parameters:
[in]maskDirection(s) of the active led(s)