Category : adafruit-circuitpython

Repost with minimal reproducible error: I’m building a basic daylight alarm clock out of a rp2040, RTC, and NeoPixel strip. I’m building the Class for Alarm (inherits from Clock, inherits from NeoPixel) objects that contain: Time to trigger(hour, minute, second), Function to trigger, and Args for the function being triggered. I have Alarm inherit from ..

Read more

I’m building a basic daylight alarm clock out of a rp2040, RTC, and NeoPixel strip. I’m building the Class for Alarm objects that contain: Time to trigger(hour, minute, second), Function to trigger, and Args for the function being triggered, this is the relevant slice of code: class Alarm(Clock): def __init__(self, time, trigger, *args): self.absolute_alarm = ..

Read more

I’m writing Python code on one of the new TI-84 Python edition calculators. These use a version of CircuitPython with limited support for some quite basic features. This includes missing dictionary methods such as items() and values(). My original version of Dijkstra’s Algorithm is below, followed by a nearly complete version in TI-Python. I’m having ..

Read more

I’m using a DHT22 temperature and humidity sensor with a Raspberry Pi Zero W V1.1 to log temperature and humidity. I use Python and Adafruit library (https://github.com/adafruit/Adafruit_CircuitPython_DHT) and even that I’m able to read the data, I get plenty of reading errors. Just as an example, this is a log of the errors reported in ..

Read more

I’m using the Adafruit CircuitPython library for BLE pulse oximeters (https://github.com/adafruit/Adafruit_CircuitPython_BLE_BerryMed_Pulse_Oximeter). I’m running in the example script provided, and want to make my own changes for my application. As apart of the debugging process (to see what data is being handled/processed), I added some print statements in the __init__.py file. However, no matter what, these ..

Read more