OneWay  3.0-3-ge9d4fa4
Functions
led.c File Reference

led handling functions. More...

#include <util/delay.h>
#include "led.h"
Include dependency graph for led.c:

Functions

void led_set (const uint8_t led, const uint8_t status)
 turn on, off and blink a led or both. More...
 
void led_init (void)
 initialize the port and turn both led on.
 

Detailed Description

led handling functions.

Function Documentation

◆ led_set()

void led_set ( const uint8_t  led,
const uint8_t  status 
)

turn on, off and blink a led or both.

Parameters
ledRED, GREEN, BOTH, NONE.
statusON, OFF, BLINK