adafruit / Adafruit_CircuitPython_Register

Python data descriptor classes to represent hardware registers on I2C devices.
MIT License
47 stars 21 forks source link

allow time.struct_time as the __set__ value #3

Closed mrmcwethy closed 7 years ago

mrmcwethy commented 7 years ago

Updated BCDDateTimeRegister to allow time.struct_time as the set value. This change makes this class and the alarm class consistent.

tannewt commented 7 years ago

Looks good! Thank you so much!