This high level library provides objects that represent CircuitPlayground hardware.
This driver depends on many other libraries! Please install it by downloading the Adafruit library and driver bundle.
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
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
.. toctree:: :maxdepth: 2 adafruit_circuitplayground/index