/Adafruit_CircuitPython_CircuitPlayground

CircuitPython library for CircuitPlayground

Primary LanguagePythonMIT LicenseMIT

Introduction

Documentation Status Gitter Discord

This high level library provides objects that represent CircuitPlayground hardware.

CircuitPlayground Express

Installation

This driver depends on many other libraries! Please install it by downloading the Adafruit library and driver bundle.

Usage Example

Using it is super simple. Simply import the cpx variable from the module and then use it.

from adafruit_circuitplayground.express import cpx

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

Contributing

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

API Reference

.. toctree::
    :maxdepth: 2

    adafruit_circuitplayground/index