Gearchiveerd
1
0
This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
keybrd/src/LED_uC.h

19 regels
408 B
C++

#ifndef LED_UC_H
#define LED_UC_H
#include <Arduino.h>
#include <inttypes.h>
#include "LEDInterface.h"
/* A LED_uC turns LED on and off.
*/
class LED_uC: public LEDInterface
{
private:
const uint8_t pin; //Aduino pin number connected to an LED
public:
LED_uC(const uint8_t pin);
virtual void on();
virtual void off();
};
#endif