keybrd library is an open source library for creating custom-keyboard firmware.
您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
123456789101112131415161718 |
- #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
|