blinky1/led.h

23 lines
288 B
C
Raw Normal View History

2019-01-24 08:51:21 +01:00
/*
* led.h
*
* Created on: Jan 24, 2019
* Author: wn
*/
#ifndef LED_H_
#define LED_H_
2019-01-27 22:12:04 +01:00
#include <stdlib.h>
2019-01-24 22:57:41 +01:00
typedef enum { BLUE = 0, RED = 1, OFF = 2 } tColor;
2019-01-24 08:51:21 +01:00
void ledInit();
2019-02-02 16:54:24 +01:00
void ledExec();
2019-01-27 22:12:04 +01:00
void ledSetMatrix(uint8_t col, uint8_t row, tColor color);
2019-01-24 08:51:21 +01:00
#endif /* LED_H_ */