Skip to content

Releases: adafruit/Adafruit_CircuitPython_Register

Added StructArray class and UnaryStruct class in Register Library

06 Feb 17:47
0d45dca
Compare
Choose a tag to compare

Improved memory usage with these classes.

Added an examples folder and four example .py files.

18 Jan 18:28
2576221
Compare
Choose a tag to compare
Merge pull request #8 from mrmcwethy/examples

added examples folder and example .py files

Change I2CDevice method read_into to readinto

17 Nov 19:45
Compare
Choose a tag to compare

Changes made to follow changes in Adafruit_Circuitpyton_BusDevice.I2CDevice

struct!

17 Oct 00:46
Compare
Choose a tag to compare

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

06 Sep 01:43
Compare
Choose a tag to compare

@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

31 Jul 20:07
Compare
Choose a tag to compare

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

11 Apr 21:59
Compare
Choose a tag to compare

Fix README for new I2CDevice API. Make sure your CircuitPython and libraries are up to date!

0.1.0 - More polish

10 Apr 23:50
Compare
Choose a tag to compare

This changes the api of I2CDevice to make more sense when not providing the address:

  • readfrom_into is now read_into
  • writeto is not write

This is also updated to work with CircuitPython 0.9.4+ with the nativeio split.

Add UnaryStruct to i2c_struct.

21 Jan 01:01
Compare
Choose a tag to compare

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.

0.0.4

09 Jan 23:02
Compare
Choose a tag to compare

Improvements for RTC classes:

  • Switch to time.struct_time.
  • Fix up alarm register to take occurrence date and time plus a frequency.