Adafruit_CircuitPython_Register
Adafruit_CircuitPython_Register copied to clipboard
Python data descriptor classes to represent hardware registers on I2C devices.
I was developing a device using this framework, but it started showing the following error and I don't know how to proceed. Traceback (most recent call last): File "code.py", line...
More discussion here: https://forums.adafruit.com/viewtopic.php?t=201104 The registers for Alarm 2 of the DS3231 do **not** have seconds:  However, "minutely" (once per minute) triggering is supported: 
Ran across this in the context of the emc2101 library. https://github.com/adafruit/Adafruit_CircuitPython_EMC2101 The EMC2101 supports only a small portion of SMBus (i2c) and specifically, can only read or write a single...
Add RWBit/ROBit and RWBits/ROBits for SPI devices. I am planning to use this in the Adafruit_CurcuitPython_RFM library for RFM69/RFM9x boards. Is there any need for the other classes. (Struct/Struct_Array) or...
When reading an alarm set point, the `tm_year` attribute is hardcoded to return 2017 and `tm_mon` to return 1. Is this intentional? Caused by a limitation somewhere? https://github.com/adafruit/Adafruit_CircuitPython_Register/blob/d37349183b82cd7d05af57a77eb3765e17e7be3f/adafruit_register/i2c_bcd_alarm.py#L154 In contrast,...