Skip to main content

CircuitPython library for Circuit Playground Express

Project description

Introduction

Documentation Status Discord Build Status Code Style: Black

This high level library provides objects that represent Circuit Playground Express and Bluefruit hardware.

Circuit Playground Express Circuit Playground Bluefruit

Installation

For Circuit Playground Express, simply install CircuitPython to use this library - the library itself and all of its dependencies are built into CircuitPython for Circuit Playground Express.

For Circuit Playground Bluefruit, you must install this library and all of its dependencies. Please download the latest Adafruit CircuitPython library bundle. Open the resulting zip file, open the lib folder within, and copy the following folders and files to the lib folder on your CIRCUITPY drive:

  • adafruit_bus_device/

  • adafruit_circuitplayground/

  • adafruit_lis3dh.mpy

  • adafruit_thermistor.mpy

  • neopixel.mpy

Usage Example

Using this library is super simple. Simply import the cp variable from the module and then use it.

from adafruit_circuitplayground import cp

while True:
    if cp.button_a:
        print("Temperature:", cp.temperature)
    cp.red_led = cp.button_b

To learn more about all the features of this library, check out the CircuitPython Made Easy on Circuit Playground Express and Bluefruit guide on the Adafruit Learn System.

Circuit Playground Library Details

For a detailed explanation of how the Circuit Playground library functions, see The Technical Side page of the CircuitPython Made Easy on Circuit Playground Express and Bluefruit guide.

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file adafruit-circuitpython-circuitplayground-5.2.8.tar.gz.

File metadata

File hashes

Hashes for adafruit-circuitpython-circuitplayground-5.2.8.tar.gz
Algorithm Hash digest
SHA256 4ecf3db4f86f742f9ae709b0caa7554ddb6561c4f9ac4984d5a0cdc2ad5ecca1
MD5 dd0c2222fe39119e3dccabb90787536d
BLAKE2b-256 ba1f8528b2ca589727160af311e35ab0289ee91e28395295da8a97129545681a

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_circuitplayground-5.2.8-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_circuitplayground-5.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 da4f62f306665842cfb0144adbd679b2e2bc2c7cfe2a0b8555f85bd5238fced4
MD5 03cf9afce51f50ad1162d2ba6bc15e17
BLAKE2b-256 16dae46f6b986ec3a6717ef55f1b30aab3360344fe63004c612c3e28645797ba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page