|
#ifndef __LED_H__
|
|
#define __LED_H__
|
|
|
|
#include <Arduino.h>
|
|
#include "consts.h"
|
|
|
|
class LED
|
|
{
|
|
public:
|
|
static int ledPin;
|
|
static unsigned long lastLedToggle;
|
|
static bool ledState;
|
|
static void init(int pin);
|
|
static void updateStatusLED(bool status);
|
|
};
|
|
|
|
#endif // __LED_H__
|