- #1
trustnoone
- 17
- 0
Hi everyone, so I was relooking into the external EEPROM problem I had earlier for the Arduino, and am thinking that I am missing even just a basic understanding of it. So I'm using this https://www.sparkfun.com/products/525 EEPROM which should have 256kbits of space.
I am hoping to save 4 pieces of data, all of which is 4 digits or below (for example 256, 830, 180, 0900) but I am saving a multitude of this data.
I am assuming that each piece of that data is an integer, an according to here http://arduino.cc/en/Reference/int the Arduino saves a 2 byte, or or 16bit value per integer.
My assumption is that, 16bits*4= 64 bits.
256kbits/64bits = 4000 integer values
Is this correct to assume I should be able to save 4000 integer values onto the EEPROM if I program it correctly?
I am hoping to save 4 pieces of data, all of which is 4 digits or below (for example 256, 830, 180, 0900) but I am saving a multitude of this data.
I am assuming that each piece of that data is an integer, an according to here http://arduino.cc/en/Reference/int the Arduino saves a 2 byte, or or 16bit value per integer.
My assumption is that, 16bits*4= 64 bits.
256kbits/64bits = 4000 integer values
Is this correct to assume I should be able to save 4000 integer values onto the EEPROM if I program it correctly?