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
*[Do not want to convert your 2.x program and use the 3.x library version?](https://github.com/Arduino-IRremote/Arduino-IRremote#do-not-want-to-convert-your-2x-program-and-use-the-3x-library-version)
22
22
*[How to convert old MSB first 32 bit IR data codes to new LSB first 32 bit IR data codes](https://github.com/Arduino-IRremote/Arduino-IRremote#how-to-convert-old-msb-first-32-bit-ir-data-codes-to-new-lsb-first-32-bit-ir-data-codes)
23
+
-[Errors with old tutorials and the 3.x versions](https://github.com/Arduino-IRremote/Arduino-IRremote#errors-with-old-tutorials-and-the-3x-versions)
23
24
-[Using the new *.hpp files / how to avoid `multiple definitions` linker errors](https://github.com/Arduino-IRremote/Arduino-IRremote#using-the-new-hpp-files--how-to-avoid-multiple-definitions-linker-errors)
24
25
-[Receiving IR codes](https://github.com/Arduino-IRremote/Arduino-IRremote#receiving-ir-codes)
25
26
*[Minimal NEC receiver](https://github.com/Arduino-IRremote/Arduino-IRremote#minimal-nec-receiver)
@@ -148,7 +149,6 @@ void loop() {
148
149
...
149
150
}
150
151
```
151
-
152
152
## Do not want to convert your 2.x program and use the 3.x library version?
153
153
First consider to just use the [original 2.4 release form 2017](https://github.com/Arduino-IRremote/Arduino-IRremote/releases/tag/v2.4.0)
154
154
or the last backwards compatible [2.8 version](https://github.com/Arduino-IRremote/Arduino-IRremote/releases/tag/2.8.0) for you project.
@@ -173,6 +173,9 @@ Example:
173
173
0x40802CD3 is binary 01000000100000000010110011010011.<br/>
174
174
If you read the first binary sequence backwards (right to left), you get the second sequence.
175
175
176
+
# Errors with old tutorials and the 3.x versions
177
+
If you suffer from errors with old tutorial code including `IRremote.h` instead of `IRremote.hpp`, just try to rollback to [version 2.4.0](https://github.com/Arduino-IRremote/Arduino-IRremote/releases/tag/v2.4.0). Most likely your code will run and you will not miss the new features...
178
+
176
179
# Using the new *.hpp files / how to avoid `multiple definitions` linker errors
177
180
In order to support [compile options](#compile-options--macros-for-this-library) more easily,
178
181
the line `#include <IRremote.h>` must be changed to `#include <IRremote.hpp>`,
0 commit comments