electricimp / reference

Electric Imp Reference Code
MIT License
94 stars 65 forks source link

CAT24C32 Class Addition #24

Closed nwgarner closed 9 years ago

nwgarner commented 10 years ago

The CAT24C32 part uses two byte addresses. This new CAT24C32 class modifies the original CAT24C class to accommodate two byte offsets.
http://www.onsemi.com/pub_link/Collateral/CAT24C32-D.PDF

ersatzavian commented 9 years ago

We may want to merge with https://github.com/electricimp/reference/blob/master/hardware/eeprom/24FC/Eeprom24FC.device.nut later. EEPROMs are standard enough we could probably use a single class.