Questions tagged [adafruit-circuitpython]

Use of the CircuitPython language and libraries on supported hardware, not just Adafruit boards and devices.

CircuitPython is derived from MicroPython through the support of Adafruit to simplify the low-level access to many standalone microcontrollers by programming in Python directly on the device, without the need for an IDE. Extensive libraries allow for the easy use of add-on devices from several manufacturers.

For great community support also checkout Adafruit's Discord Server or Forums

156 questions
0
votes
1 answer

Adafruit neopixel library not loading correctly onto raspberry pi pico

I've been trying to use the adafruit neopixel library to... well... use neopixels. However, I've been having some problems. I am using a pi pico, thonny as my IDE, and Ubuntu as my OS. I started off writing the code below, and running it, on…
0
votes
0 answers

Problem with the serial connection between Processing and CircuitPython on an Adafruit Grand Central M4 Metro

Serial Connection Problem between Processing and CircuitPython Code on a Adafruit Grand Central M4 Metro. I have a Adafruit Grand Central M4 Metro Micro-Computer with 3 Motors connected to it. On the Grand Central are to Files with CircuitPython…
0
votes
1 answer

Sending data via UART over BLE without delays using adafruit_ble and Bleak

I want to reliably, repeatedly and extendably send a list of length 15 containing numbers 0-128 from a PC using Windows 10 64Bit to an Adafruit ItsyBitsy nRF52840 (circuitpython). A response will be sent from receiver to sender so that I can be sure…
0
votes
0 answers

Using CircuitPython to send a value to a BLE (Bluetooth Low Energy) device

I'm trying to communicate with a Sony camera and trigger it over BLE through an ESP32-S3 running CircuitPython using adafruit libraries. According to the documentation I found, I need to write the value "0x0107" to the characteristic…
0
votes
0 answers

How to reuse adafruit_requests session after login to web server?

Not knowing how to keep requests session after successfully performing POST with login data, with circuitpython adafruit_requests on Raspberry Pi Pico Followed this adafruit tutorial and adapted to POST json data in order to login in to a https web…
0
votes
0 answers

family code error when family code is right

This is the error I get Traceback (most recent call last): File "", line 38, in File "adafruit_ds18x20.py", line 84, in __init__ ValueError: Incorrect family code in device address. This is all of the code that is being run, its…
reet66
  • 3
  • 3
0
votes
1 answer

LCD in CircuitPython flashing on then off

I'm trying to get an LCD display (1602 via I2C from pi pico W) to work, and my code is as follows: import busio import time from adafruit_character_lcd import character_lcd_i2c i2c = busio.I2C(board.GP15, board.GP14) lcd =…
Joshua
  • 56
  • 1
  • 4
0
votes
0 answers

Can circuitpython send commands to the host computer?

Been playing around with the Pi Pico and circuitpython. Is there a way to send commands from the Pico to the computer its connected to? I'm aware of the HID library, just trying to figure out if there is a way to have a macro key press that opens a…
0
votes
1 answer

Python time.localtime() function isn't returning the correct date/time (Circuit Python MatrixPortal)

I'm attempting to create a program for a Circuit Python MatrixPortal M4 board and I'm using the time function just to print timestamps to the serial monitor to assist with debugging. I copied over code that I've used previously for this purpose also…
ceb2120
  • 11
  • 2
0
votes
0 answers

How to set up a web server on the Raspberry Pi Pico W using CircuitPython?

I have a soft access point (hotspot) without internet connection set up on my Raspberry Pi Pico W see the code below: # import wifi module import wifi # set access point credentials ap_ssid = "myAP" ap_password = "password123" # You may also need…
0
votes
1 answer

RP2040-Zero Not Blinking

so I am working on this project right now that is meant to connect an rp2040 zero to a 1.44" tft display using circuit python. However, when trying to run examples and basic code from adafruit's own website, none of it worked. After doing some work…
0
votes
0 answers

usb_cdc.data with the Seeeduino Xiao M0

I make my first steps with CircuitPy and try to parse some data over the USB. The data is coming from a python script running on my PC. **boot.py ** import usb_cdc usb_cdc.enable(console=True, data=True) after a power cycle I have two COM ports…
0
votes
1 answer

Can't set up soft access point in CircuitPython

I want to set up a soft access point (a hotspot without an internet connection) on my Raspberry Pi Pico W with a webserver, the reason it needs to also be a soft access point is because I want to take it with me on the road so most of the times…
0
votes
0 answers

Armachat compact, problem with adafruit libraries

I built Armachat (raspberry pico messenger) from the link below https://hackaday.io/project/183657-armachat-pico-compact-long-radio-messenger and I had trouble starting up. After choosing to load simplechat.py the message appears on the…
0
votes
0 answers

how to change adafruit hid keyboard layout

I built a rubber ducky with a Raspberry pi pico. The problem is the keyboard layout is in US but i would like to change it to Canadien layout but don't know how to do it. I use circuitpython and ada_fruit. I tried to use the different keyboard…