The Experimenters Guide uses IRLib2, an easy-to-understand Arduino library that de-mystifies the infrared light receiver. It makes writing code for IR Reciever and IR LED much easier.
To install the IR Library:
- Download the IR Library by clicking the button above, or download it directly from the IRLib 2.x Library from Github.
- Uncompress the ZIP file after it’s finished downloading.
- Check that the uncompressed folder contains five separate folders. IRLib 2.x contains multiple libraries that work together.
- Copy all five into your Arduino Library folder root directory. The path will typically be in (home)/Documents/Arduino/Libraries. If you do not see the /Libraries/ folder, you may need to create this yourself.
- Restart the Arduino IDE.