keybrd library is an open source library for creating custom-keyboard firmware.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Это архивный репозиторий. Вы можете его клонировать или просматривать файлы, но не вносить изменения или открывать задачи/запросы на слияние.

123456789101112131415161718
  1. #ifndef LED_UC_H
  2. #define LED_UC_H
  3. #include <Arduino.h>
  4. #include <inttypes.h>
  5. #include "LEDInterface.h"
  6. /* A LED_uC turns LED on and off.
  7. */
  8. class LED_uC: public LEDInterface
  9. {
  10. private:
  11. const uint8_t pin; //Aduino pin number connected to an LED
  12. public:
  13. LED_uC(const uint8_t pin);
  14. virtual void on();
  15. virtual void off();
  16. };
  17. #endif