arduino_apple_remote

时间:2021-05-14 17:51:46
【文件属性】:
文件名称:arduino_apple_remote
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-14 17:51:46
C++ 适用于Apple Remote的Arduino库 远程控制设备可用于向各种Apple产品(例如Apple TV)发送指令。 该库的主要目的是使用兼容Arduino的板和IR LED发射红外脉冲,以模仿产生的脉冲。 #include // PWM~ PIN (an IR LED) #define PIN_IR_OUTPUT 3 AppleRemote *appleRemote; void setup() { // We can pass either APPLE_REMOTE_MODEL_A or APPLE_REMOTE_MODEL_B to define // the Apple Remote model we want to use. appleRemote = new AppleRemote(PIN_IR_OUTPUT, APPLE_R
【文件预览】:
arduino_apple_remote-master
----keywords.txt(231B)
----examples()
--------SendMenuSignalTest()
--------SendAndReceiveButtonCodes()
----AppleRemote.h(6KB)
----README.md(3KB)
----library.properties(440B)
----.gitignore(6B)
----AppleRemote.cpp(6KB)

网友评论