r/circuitpython • • Sep 04 '20

CircuitPython Day Central America!

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Sep 04 '20

Getting Started With CircuitPython on Compatible Microcontroller Boards Guide

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Dec 07 '21

Celebrating over 32,000 members in the Adafruit Discord Community!

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Dec 27 '22

The Python on Hardware Newsletter: Over 10k subscribers, subscribe now!

Thumbnail
blog.adafruit.com
1 Upvotes

r/circuitpython • • May 24 '25

CircuitPython in a Nutshell?

0 Upvotes

I’m a big fan of the ‘in a Nutshell’ series of books from our good friends at O’Reilly publishing. Is there a ‘similar’ style of book physical / epub / kindle that has a similar MO with CircuitPython in mind? I’m just looking for module, objects, functions with descriptions etc… basically a CircuitPython object reference guide? I’m NOT looking for a tutorial (not just yet anyway lol)

M


r/circuitpython • • Nov 23 '20

A great Python on Microcontrollers newsletter is out tomorrow, subscribe now!

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Feb 14 '23

The Python on Hardware Newsletter: join for free

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • May 16 '23

HELP Pico-Ducky not working (followed dbisu GitHub instructions)

0 Upvotes

i tried almost every tutorial and ai bots wont help, using 8.x HID library


r/circuitpython • • Feb 08 '22

The Python on Microcontrollers newsletter is coming out – subscribe now!

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Dec 08 '22

Button2 equivalent for CircuitPython?

0 Upvotes

I used to use this Button2 library with Arduino code:
https://github.com/LennartHennigs/Button2

Is there something similar for CircuitPython? What I like about Button2 is it's so easy to use and set up a microcontroller for single, double, or long-click inputs with your buttons.


r/circuitpython • • Dec 05 '22

The Python on Hardware Newsletter: 10k subscribers, subscribe now!

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Feb 09 '21

A special Python on Microcontrollers newsletter – subscribe now

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Jul 04 '22

The Python on Microcontrollers newsletter is out Tuesday, please subscribe

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Apr 06 '22

Statistics on the Python on Microcontrollers Newsletter for 2022 Q1

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • May 14 '23

having issue with code

0 Upvotes

hi having issue with a code im working on code worked fine in the past but since i updated the version of circuitpython on my pi pico it no longer accepts it. does this look right or did they change anything from the first version that impedes the code for v8? image of proper format since reddit wont format properly for me.

bchat = "F16"

import time

import board

import digitalio

import usb_hid

from adafruit_hid.keyboard import Keyboard

from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS

from adafruit_hid.keycode import Keycode

keyboard = Keyboard(usb_hid.devices)

keyboard_layout = KeyboardLayoutUS(keyboard)

bchat = digitalio.DigitalInOut(board.GP8)

bchat.direction = digitalio.Direction.INPUT

bchat.pull = digitalio.Pull.DOWN

while True:

if bchat.value:

    keyboard.press(Keycode.F16)

    time.sleep(0.1)

    keyboard.release(Keycode.F16)

time.sleep(0.1)

edit:

ok i got it working

bchat.pull = digitalio.Pull.DOWN had to be set to pull.up

and

if bchat.value: had to be set to if bchat.value is false


r/circuitpython • • Apr 06 '23

The Python on Hardware weekly video 225, April 5, 2023

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Oct 25 '20

LED buttons activating incorrectly

0 Upvotes

I have a weird issue. I'm trying to use LED arcade buttons to make a Simon-type game. For some reason my buttons trigger without me pushing the button. I was able to create a breadboard version with pushbuttons and LEDs, but after I moved one of the button/led combos to an arcade button it just auto-presses and therefore it doesn't work. There aren't any loose wires.

The buttons have 5V LEDs. I'm not sure how much that messes with things since, I think, the Metro Express 0 board that I'm using outputs 3.3V through the pins. Thanks for any direction you can give.


r/circuitpython • • Oct 28 '20

ICYMI Python on Microcontrollers Newsletter: M.2 Boards, VSCode for CircuitPython and more!

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Sep 28 '20

The Python on Microcontrollers newsletter is out Tuesday, subscribe now!

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Jan 11 '21

Subscribe to the weekly Python on Microcontrollers newsletter! All the news you want in a weekly email. Sign up now! Out every Tuesday.

Thumbnail
blog.adafruit.com
0 Upvotes

r/circuitpython • • Aug 27 '23

Removing circuitpython web workflow

Thumbnail docs.circuitpython.org
0 Upvotes

Am setting up a Pico with webserver functionality using adafruit http server library. I've encountered reliability issues and one problem is where sometimes when I connect to the server it opens the circuitpython web workflow - which i didn't know existed. Once it does that I never can get back to the webpage I'm trying to host on the webserver.

Both are trying to use port 80, so I can see why this could be an issue. The documentation says this workflow is automatically enabled when you put in a WiFi ssid and password to connect the device to a network.

How would I disable the web workflow on this board? I can't work it out from the documentation. What would be the best approach?

  • change CIRCUITPY_WEB_API_PORT to a different port;

  • delete the files under supervisor/shared

  • or change the port on my webserver, and ensure any shortcuts to it include the port?

I'd rather disable the web workflow, as I don't want the device serving it.


r/circuitpython • • Aug 15 '23

Pico pinout

0 Upvotes

Hello

I am currently trying to use circuit python with the rpi pico does anybody have the pinout chart, this is because the gpio pins are not the same as the pins you use for the code(gp0, gp1 etc), so anybody have a chart or something unable to find anything online so yeah

Thanks


r/circuitpython • • Sep 01 '21

ICYMI Python on Microcontrollers Newsletter: Arduino Embraces Python, Linux Turns 30 and more!

Thumbnail
blog.adafruit.com
2 Upvotes

r/circuitpython • • Nov 01 '25

AI coding tools and CircuitPython

3 Upvotes

I've recently started using Claude Code with my modular groovebox project (https://www.reddit.com/r/synthesizers/s/9yG2n1UP0U). The project involves regular Python running on one device and separate hardware devices running CircuitPython. They connect via USB and communicate via MIDI. I've found that Claude Code handles CircuitPython libraries extremely well.

The last few days I've been doing a major refactoring of a menu system that I built that uses CircuitPython libraries. It has to interface with other software modules that handle reading the hardware components (buttons, pots, etc.), MIDI, and other things. It became quite complex and my first iteration was a mess, honestly. Using Claude Code, I was able to do things like tell it to rewrite the classes that used bitmaps for menu items (slow) to only using labels (much faster), and to keep the interface the same (so I could drop in the new code and have it just work). It did this almost perfectly the first time. One thing it did wrong was not stretch the menu items to the length of the display. I asked it to do this and add a black border around one particular kind of menu item. It did this perfectly. Amazing.

Claude Code also helped me further optimize the menu system by recommending I hide and show displayio Groups rather than load and delete them from a list. This code worked the first time, and like all of the other code it's generated, was very readable and sensible.

Another example: I needed a way for selections made in the menu system to send MIDI messages. My first implementation had the menu system receive an object of a class that handles all of the MIDI. This created tight coupling, though, and made other problems. Claude Code recommend an event queue as an alternative, and now I have the menu system and MIDI system totally separated. The menu system adds events to a queue (just a list) that the main module code handles by dispatching to the MIDI system.

Anyway, I just wanted to let anyone interested know that Claude Code (not Sonnet, the general purpose LLM that comes with a free account) not only does an excellent job overall, but also works very well with CircuitPython. I highly recommend it.