The IRLib2 library has been incorporated into the Adafruit_CircuitPlayground library so if you've already installed that library you can skip to the next page which describes the tutorial programs. If you have not already installed library here is how to do it.

Installing Via Library Manager

The Circuit Playground library is available on the Adafruit GitHub website.  The library is installed in versions of the Arduino IDE greater than 1.6.7 as follows:

Open up the Arduino library manager:

Search for Adafruit circuit playground library and install it. Make sure you put a space in-between circuit and playground as it will not show up otherwise.

Run the Demo

Plug in your Circuit Playground. Under Windows you'll need to make sure you have installed the driver package. Do that if you haven't!

Next, you'll also need to make sure you have installed the Adafruit Board Support package. That's required no matter what computer you're using.

Select the Circuit Playground Express Board

Under the Tools -> Board submenu, scroll down to Adafruit Boards and pick Adafruit Circuit Playground Express

Select the matching Port

Under Tools->Port select the port that is labed (Circuit Plaground)

Load the Demo Program

OK you're now ready to load the demo. Under File->Examples locate Adafruit CircuitPlayground and then select the demo program.

Compile/Verify the Demo

Click the Verify button (also the Sketch->Verify menu item) to compile/verify the demo. Make sure you get "Done compiling." and no errors

Upload Demo

Click the Upload button to upload the code

You should get a Done uploading. message in the blue statusbar

You can now run the serial console to get data output:

You'll get information such as:

  • "Capacitive touch" readings for all 8 outer pads (under 50 means not touched, over 100 usually means the pads are touched)
  • Slide switch location (left or right)
  • If the Right and Left buttons are pressed
  • Light sensor readings, higher values mean more light
  • Sound sensor readings
  • X, Y and Z accelerometer readings
  • Temperature in Celcius

This guide was first published on Jul 27, 2017. It was last updated on Jun 28, 2017.

This page (Library Installation) was last updated on Jun 28, 2017.

Text editor powered by tinymce.