You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,12 +48,12 @@ Therefore you must change all `IrSender.begin(true);` by `IrSender.begin(IR_SEND
48
48
In the new version you will send NEC commands not by 32 bit codes but by a (constant) 8 bit address and an 8 bit command.
49
49
50
50
# FAQ
51
-
- IR does not work right when I use Neopixels (aka WS2811/WS2812/WS2812B)<br/>
51
+
- IR does not work right when I use Neopixels (aka WS2811/WS2812/WS2812B) or other libraries blocking interrupts for a longer time (> 50 us).<br/>
52
52
Whether you use the Adafruit Neopixel lib, or FastLED, interrupts get disabled on many lower end CPUs like the basic Arduinos for longer than 50 µs.
53
53
In turn, this stops the IR interrupt handler from running when it needs to. There are some solutions to this on some processors,
54
54
[see this page from Marc MERLIN](http://marc.merlins.org/perso/arduino/post_2017-04-03_Arduino-328P-Uno-Teensy3_1-ESP8266-ESP32-IR-and-Neopixels.html)
55
55
- The default IR timer on AVR's is timer 2. Since the **Arduino Tone library** as well as **analogWrite() for pin 3 and pin 11** requires timer 2,
56
-
this functionality cannot be used simultaneously. You can use tone() but after the tone has stopped, you must call `IrReceiver.start()` or better `IrReceiver.start(<microsecondsOfToneDuration>)` to restore the timer settings for receive.<br/>
56
+
this functionality cannot be used simultaneously. You can use tone() but after the tone has stopped, you must call `IrReceiver.start()` or better `IrReceiver.start(<microsecondsOfToneDuration>)` to restore the timer settings for receive. Or you change the timer to timer 1 in private/IRTimer.cpp.h.<br/>
57
57
If you can live with the NEC protocol, you can try the MinimalReceiver example, it requires no timer.
58
58
- You can use **multiple IR receiver** by just connecting the output pins of several IR receivers together.
59
59
The IR receivers use an NPN transistor as output device with just a 30k resistor to VCC.
@@ -133,7 +133,7 @@ Modify it by commenting them out or in, or change the values if applicable. Or d
133
133
|`DO_NOT_USE_FEEDBACK_LED`| TinyIRReceiver.h | disabled | Enable it to disable the feedback LED function. |
134
134
135
135
### Modifying compile options with Arduino IDE
136
-
First use *Sketch > Show Sketch Folder (Ctrl+K)*.<br/>
136
+
First, use *Sketch > Show Sketch Folder (Ctrl+K)*.<br/>
137
137
If you did not yet stored the example as your own sketch, then you are instantly in the right library folder.<br/>
138
138
Otherwise you have to navigate to the parallel `libraries` folder and select the library you want to access.<br/>
139
139
In both cases the library files itself are located in the `src` directory.<br/>
0 commit comments