add matrix structure

This commit is contained in:
2019-01-27 22:12:04 +01:00
parent 459ad36b0d
commit ddb4a82165
2 changed files with 41 additions and 3 deletions

7
led.h
View File

@ -8,10 +8,15 @@
#ifndef LED_H_
#define LED_H_
#include <stdlib.h>
typedef enum { BLUE = 0, RED = 1, OFF = 2 } tColor;
void ledExec();
void ledInit();
void ledSetMatrix(uint8_t col, uint8_t row, tColor color);
#endif /* LED_H_ */