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
-1
votes
2 answers

How can I randomize a list of integers 1 to X in CircuitPython without duplicates?

I am creating a circuit python project and the code compiles fine but it isn't working the way I intend. This loop that I have is supposed to generate a non repeating list of integers 1 to X in a random order. It does that except 1 and 2 are always…
-1
votes
1 answer

press buttons on gamepad

i am trying to press buttons on the gamepad i am using a gamepad descriptor for the gamepad but i cant find out how to press the buttons on the gamepad is there any way to press the buttons? i am using an raspberry pi pico for this import…
-1
votes
1 answer

Pairing (security) example for Seeed XIAO nRF52840

I can't find example how to do BLE pairing with Seeed XIAO nrf52840 board. It doesn't matter to me if it will be Arduino or Circuitpython libraries. Is there something like this somewhere? I would like to use this board for my project, but would…
Clyde
  • 311
  • 2
  • 14
-1
votes
1 answer

Object not callable in python class in flask application

This is my first flask application and i tried my best to get it running. Nevertheless i stuck into one error. I tried to create a python flask app but stuck into an error. here is my code flask.py from test_displayclass import Bartender class…
test1
  • 95
  • 1
  • 7
-1
votes
2 answers

Looking for CircuitPython module equivalent to usb_cdc for Feather M4 Express

I've assembled this 8x8 button grid using the Feather M4 Express microcontroller: https://www.adafruit.com/product/1929?gclid=CjwKCAjwgOGCBhAlEiwA7FUXkj1TknNJexUvCwRb1t8fUJwJhQvC8wREmAs5AojE4wSHWsoNKLWkcRoCFUIQAvD_BwE I want to be able to connect…
-2
votes
1 answer

How can I understand this Python "def" code?

I do not understand this code: #Read temperature sensor def Read_Temperature(places): humidity, temperature = Adafruit_DHT_.read_retry(sensor, pin) temperature = round(humidity, places) return temperature Can you please tell…
1 2 3
10
11