paolop74 / exteeprom Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jchristensen/exteeprom
Arduino library to support external I2C EEPROMs.
License: Other
This project forked from jchristensen/exteeprom
Arduino library to support external I2C EEPROMs.
License: Other
extEEPROM/examples/eepromTest/eepromTest.ino
Lines 148 to 152 in 4abc28d
The original code of dump function skips print of byte when the value is < 16
Should be changed to this:
if ( d[c] < 16 ) Serial.print(F("0"));
Serial.print(d[c], HEX);
Serial.print( c == 7 ? " " : " ");
Hi,
Are you able to add get() and put() functions for easy handling of data structures?
Cheers
Jye
I would like to see direct FRAM support... eliminating the un-needed read/verify command after a write with FRAM's...
thanks
Hiii!
I have been using this library with my M24M02 and Arduino board, working perfectly! But now in the ESP32 I cannot make it works.
Is there some change that should I do? It's this library prepare to ESP32 module too?
Thanks for your amazing work!
Hello,
Thank you for providing this library ... it seems to be working well!
I do have one question in trying to better understand the library design, and how we can use this for our purposes. When I read the documentation, it appears that the Constructor allows us to provide a "nDev" parameter that represents the number of devices on the bus. If we do this, should we understand that you will then treat the set of devices as one consecutive chunk of EEPROM? And the addresses must be sequential and in order?
In our case we have a "motherboard" that can have up to 5 different daughter cards plugged in. We are using the I2C EEPROM on each daughter card to determine which card is plugged into which socket ... and some sockets might be empty.
So my real question is the best way that we could use your library to iterate the 5 addresses for each socket (0x50-0x54), detect if the EEPROM is present, and then read or write them.
I was thinking of trying to create an array of extEEPROM objects and iterate them, but in the Constructor I have to pass the I2C address ... and so I wasn't sure if this would work?
I would appreciate any suggestions on the best way to accomplish this ... and if there is a better place to post this question please let me know.
I plan to use 25 to define SDA and 26 to define SCL. How do I adjust the settings?
Hello, I'm just starting to use EEPROMs and quite frankly am still struggling with the addressing.
I am trying to use your extEEPROM driver and am getting errors (see below). I expect I have a wrong setup value but am at a loss to find the correct one.
(I'm using Arduino IDE 1.8.9)
My settings are:
//One 24AA02 EEPROMs on the bus const uint32_t totalKBytes = 1; //for read and write test functions extEEPROM eep(kbits_2, 1, 8); //device size, number of devices, page size uint8_t chunkSize = 4;
Thank you for your library and help
Regards
John
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.