Commit Graph

7 Commits

Author SHA1 Message Date
X-Ryl669 095cfff1ba Fix for building issue on libretiny 2023-11-06 16:36:10 +01:00
nelgi 141276f1e7
Update IRSenderPWM.cpp
Originally pins 44 and  45 did not work at all, and the data sent from pin 46 was different each time, plus the range was about 1-2cm.
2019-11-17 12:44:32 +02:00
Maksym Krasovskyi 9554c23bb1 ESP32 support added 2019-08-06 09:09:33 +03:00
Allen Chak 189a192597 Due to ATmeg8/8A does not have register "TCCR2A", using marco to bypass the related code.
PS: ATmega8/8A can use PWM pin 9 or 10 in IRSenderPWM mode ONLY.
2019-06-06 15:10:55 +08:00
Toni 882736230f Arduino Due support on IRSenderPWM 2018-08-30 17:24:37 +03:00
ToniA 933d6c7fe0 Add the 'IRSenderBitBang' IR send method. This should generate the carrier
wave on ESP8266 by switching the IR led on and off without using the Arduino
PWM registers.

In the 'simple.ino' change use this IR definition:

IRSenderBitBang irSender(1)
2016-01-24 17:02:19 +02:00
ToniA a04a96b2a2 Add support for IRBlaster, i.e. no PWM needed, the blaster generates the 38 kHz carrier frequency 2015-12-01 20:17:14 +02:00