adafruit / Adafruit_FRAM_SPI

Driver for Adafruit's SPI-Based FRAM Breakouts
Other
34 stars 30 forks source link

centralize supported devices as look up table #16

Closed hathach closed 3 years ago

hathach commented 3 years ago

Centralize the supported device as lookup table, make it easier to add new devices. Also this reduce the chance of manufacture & product ID that pass the check but not actually FRAM e.g Manu = 0x04, Proudct = 0x8305