mirror of
https://bitbucket.org/myhomie/mycorerepository.git
synced 2025-12-06 17:51:20 +00:00
17 lines
286 B
C++
17 lines
286 B
C++
#include <IRremoteESP8266.h>
|
|
|
|
IRsend irsend(0); //an IR led is connected to GPIO pin 0
|
|
|
|
void setup()
|
|
{
|
|
irsend.begin();
|
|
}
|
|
|
|
void loop() {
|
|
for (int i = 0; i < 3; i++) {
|
|
irsend.sendNEC(0xffb04f, 32);
|
|
delay(20);
|
|
}
|
|
delay(3000); //5 second delay between each signal burst
|
|
}
|