adafruit / Adafruit_CircuitPlayground

library for Circuit Playground board
172 stars 77 forks source link
arduino-library

Adafruit CircuitPlayground Library Build StatusDocumentation

Description

All in one library to control Adafruit's Circuit Playground board. Requires no other dependencies and exposes all Circuit Playground components in a simple to use class. Adafruit Circuit Playground Express is a high-level library that provides objects that represent CircuitPlayground hardware.

Installation

First Method

image

  1. In the Arduino IDE, navigate to Sketch > Include Library > Manage Libraries
  2. Then the Library Manager will open and you will find a list of libraries that are already installed or ready for installation.
  3. Then search for Circuit playground using the search bar.
  4. Click on the text area and then select the specific version and install it.

Second Method

  1. Navigate to the Releases page.
  2. Download the latest release.
  3. Extract the zip file
  4. In the Arduino IDE, navigate to Sketch > Include Library > Add .ZIP Library

Features

Functions

Examples

There are many examples implemented in this library. One of the examples is below. You can find other examples here

soundPressureLevel.ino

#include <Adafruit_CircuitPlayground.h>
void setup() {
  CircuitPlayground.begin();
  Serial.begin(115200);
}
void loop() {
  Serial.println(CircuitPlayground.mic.soundPressureLevel(50));
}

Contributing

If you want to contribute to this project:

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Credits

The author and maintainer of this library are Limor Fried/Ladyada and others for Adafruit Industries info@adafruit.com.

Based on previous work by:

This is a library for the Adafruit CircuitPlayground boards:

Check out the links above for our tutorials and wiring diagrams.

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

License

This library is licensed under MIT license. All text above must be included in any redistribution.