Releases: adafruit/Adafruit_CircuitPython_Register
Added StructArray class and UnaryStruct class in Register Library
Improved memory usage with these classes.
Added an examples folder and four example .py files.
Merge pull request #8 from mrmcwethy/examples added examples folder and example .py files
Change I2CDevice method read_into to readinto
Changes made to follow changes in Adafruit_Circuitpyton_BusDevice.I2CDevice
struct!
Prep for CircuitPython 3.x which will have struct
instead of ustruct
. Thanks to @mrmcwethy
To use in CircuitPython, download the .mpy file and copy it to the lib
folder on the CIRCUITPY
drive. Or, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
DateTime more consistent
@mrmcwethy updated BCDDateTimeRegister to use time.struct_time
for setting values.
To use in CircuitPython, download the .mpy file and copy it to the lib
folder on the CIRCUITPY
drive. Or, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
1.0.0
First stable release. Includes one fix to i2c_bits
from 0.1.1.
To use in CircuitPython, download the .mpy file and copy it to the lib
folder on the CIRCUITPY
drive. Or, simply install the Adafruit CircuitPython bundle.
Read the docs for info on how to use it.
Update README
Fix README for new I2CDevice API. Make sure your CircuitPython and libraries are up to date!
0.1.0 - More polish
This changes the api of I2CDevice to make more sense when not providing the address:
readfrom_into
is nowread_into
writeto
is notwrite
This is also updated to work with CircuitPython 0.9.4+ with the nativeio
split.
Add UnaryStruct to i2c_struct.
This is a version of the Struct class that assumes only a single value is set/get and removes the need for explicit tuple packing/unpacking.