Networking in CircuitPython
CircuitPython provides several methods for connecting hardware to wired and wireless networks. Shall we see how?
CircuitPython Safe Mode
CircuitPython goes into safe mode when an unrecoverable error occurs. It resets the board and prevents your program from running, so you can and find and fix the problem. You can also invoke safe mode deliberately, to fix a program that cannot otherwise be interrupted.
Cooperative Multitasking in CircuitPython with asyncio
Code your CircuitPython program as multiple independent tasks that take turns running. You use async and await with the asyncio library.
Custom HID Devices in CircuitPython
CircuitPython allows you to specify custom HID devices, such as game pads, joysticks, and non-standard keyboards. You can also emulate existing devices. We'll provide multiple examples.
Keypad and Matrix Scanning in CircuitPython
The CircuitPython keypad module scans a set of keys or buttons in the background, and gives you key press and release events.
Customizing USB Devices in CircuitPython
You can now enable or hide the USB devices that CircuitPython provides. You can also define new custom HID devices to emulate a digitizer, gamepad, joystick, or other special input device.
Deep Sleep with CircuitPython
CircuitPython can go to sleep and reduce its power consumption. Learn how to sleep and set an alarm to wake up at a certain time, on a button push, or other external event
CircuitPython BLE Libraries on Any Computer
The Adafruit Blinka bleio Python library lets you run CircuitPython Bluetooth Low Energy (BLE) code on host computers, like Windows, Mac, and Linux desktops and laptops, and Raspberry Pi. You can communicate with BLE devices and with CircuitPython boards that support BLE.
CircusPython: Jump through Hoops with CircuitPython Bluetooth LE
Here's a simple demonstration project to get you started with Bluetooth Low Energy (BLE) support in CircuitPython. Blinka jumps through a NeoPixel ring of fire, using a servo. It's all controlled wirelessly via the Adafruit Bluefruit LE Connect app from your phone or tablet, using an nRF52840 Feather and a Feather Crickit. You can adapt and expand upon this code for your own projects.
CircuitPython-Powered 3-minute Nightlight
A Gemma M0 running CircuitPython has everything you need to make a simple nightlight or a fancier one with brightness and color control. No assembly required! Put together this simple configurable night-light in only a couple minutes!
Building CircuitPython
We'll show you how to set up a build environment for CircuitPython and then build it yourself. You might want to do this to keep up with the latest development version or to make a custom version for yourself.
Bluefruit LE Connect for iOS and Android
Use Bluefruit LE Connect with Bluefruit LE hardware to control your project with your phone's accelerometer, send data over UART console, control Arduino pins, and much more.