adafruit / Adafruit_FRAM_I2C

Arduino library driver for Adafruit's I2C-Based FRAM Breakouts
Other
44 stars 32 forks source link

read/write anything #17

Closed dstroy0 closed 3 years ago

dstroy0 commented 3 years ago

add read/write anything templates to Adafruit_FRAM_I2C class

construct FRAM object as normal and use writeAnything(FRAM_address_to_write_to, variable_or_structure_or_class_to_write_to_FRAM) or readAnything(FRAM_address_to_read_from, variable_or_structure_or_class_to_read)

No error checking, no overflow checking

ladyada commented 3 years ago

thanks, merged!