Whether using the Feather M0 Wi-Fi or the MKR1000 boards you will need to install the official Arduino WiFi101 library. Complete details on how to do this can be found in the tutorial for the Feather M0 Wi-Fi found here. We recommend that you go through that tutorial and familiarize yourself with the Wi-Fi examples found there. Make sure that your firmware has been updated to the most recent version. Note: If you're running 19.5.2 there is no need to update to 19.5.4. Despite what the WiFi101 library says it should work just fine.
You will also need to install IRLib2 from github.
Installation of the IRLib2 library is as follows:
- Visit the IRLib2 page on GitHib.
- Select the “Download ZIP” button, or simply click this link to download directly.
- Uncompress the ZIP file after it’s finished downloading.
- The resulting folder should be named "IRLib2-master" and will contain 5 separate folders. That is because IRLib 2.x is actually a collection of 5 libraries that work together. Sometimes in Windows you’ll get an intermediate-level folder and need to move things around.
- Copy all five folders into your Arduino library folder along side your other Arduino libraries, typically in your (home folder)/Documents/Arduino/Libraries folder. Libraries should not be installed alongside the Arduino application itself.
- Re-start the Arduino IDE if it’s currently running.
This repository consists of a total of five libraries each of which must be in your arduino/libraries/ folder. So for example it should be installed as follows…
- arduino/libraries/IRLib2
- arduino/libraries/IRLibFreq
- arduino/libraries/IRLibProtocols
- arduino/libraries/IRLibRecv
- arduino/libraries/IRLibRecvPCI
Do not install them in a single folder such as this…
- arduino/libraries/IRLib2_master
- IRLib2
- IRLibFreq
- IRLibProtocols
- IRLibRecv
- IRLibRecvPCI
Here’s a tutorial that walks through the process of correctly installing Arduino libraries.
More details on using IRLib2 can be found in my tutorial "Using an Infrared Library on Arduino".
Page last edited March 08, 2024
Text editor powered by tinymce.