Skip to main content

CircuitPython library for Circuit Playground Express

Project description

Introduction

Documentation Status Discord Build Status Code Style: Ruff

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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file adafruit_circuitpython_circuitplayground-5.3.12.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_circuitplayground-5.3.12.tar.gz
Algorithm Hash digest
SHA256 9545f64c50f07552d0249f696f147940646cb15941f857235412d814a7b47d99
MD5 677314553e7acc474817858bc7d1268f
BLAKE2b-256 5c14660c37811964c6b4386a38172e9ea4fdc2b89b44fded6196801c1f780599

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_circuitplayground-5.3.12-py3-none-any.whl
Algorithm Hash digest
SHA256 2bd9e43a9078c7b7f7c14c92295264080510d184cebb764fb667752da4626207
MD5 6c5ae89cf9c40ce1801e6ca5a1fb0ab4
BLAKE2b-256 2a58b5526c838168d45984ae755b81e3fe55905ce2f937b94bd9b5422064dd4f

See more details on using hashes here.

Supported by

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