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:

  1. Visit the IRLib2 page on GitHib.
  2. Select the “Download ZIP” button, or simply click this link to download directly.
  3. Uncompress the ZIP file after it’s finished downloading.
  4. 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.
  5. 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.
  6. 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".

This guide was first published on Mar 12, 2018. It was last updated on Mar 12, 2018.

This page (Installing Libraries) was last updated on Mar 11, 2018.

Text editor powered by tinymce.