14 lines
210 B
C
14 lines
210 B
C
#ifndef LED_H
|
|
#define LED_H
|
|
|
|
#include <Arduino.h>
|
|
|
|
enum color{Red, Blue, Green, White, Yellow};
|
|
|
|
void initLed(color c, int pin);
|
|
|
|
int blinkLed(color c);
|
|
int turnOnLed(color c);
|
|
int turnOffLed(color c);
|
|
|
|
#endif
|