Adafruit Fram read8 and write8 error

I have a question about Adafruit Fram. I have a program that uses ” i2ceeprom.write8(0,0); “ to write to and from the fram. But I get an “error: class Adafruit_EEPROM_I2C has no member named ‘write8’ . I have Adafruit Library “Adafruit_EEPROM_I2C.h and Adafruit_FRAM_I2C.h “. I can read and write to the EEPROM using just the read and write But the program that I want to use wead8() and writ8().

The last line should read "But the program that I want to use read8() and write8().

Why don't you change your program to use use read()/write() since that is what the adafruit library uses?

The library was changed a lot on 1 July 2021. The read8() and write8() were removed. The tutorial still uses the old names.
Here is the library, use the examples that come with it.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.