Page 1 of 1

Using the EEPROM in the MIAC

Posted: Fri Jul 19, 2013 3:34 pm
by Dave @Harper Adams
Hi

I am trying to store values to the EEPROM in the MIAC.
The simulation works fine, but when it is downloaded to the MIAC unit it appears that the maximum value that can be stored is 255.
Example; if storing the number 255 the simulation and MIAC store 255. if storing 256 then the simulation stores 256 but the MIAC appears to stores 0 as this is what is displayed when the EEPROM is read and its value displayed
Is there a maximum value that can be stored?

Re: Using the EEPROM in the MIAC

Posted: Fri Jul 19, 2013 4:00 pm
by DavidA
Hello Dave,

The EEPROM in a MIAC is an array of bytes (8bit value), so 0-255 are the only available numbers you can store in it.

To store higher numbers you will need to use two or more EEPROM locations and combine them, with just two memory locations you can get numbers from 0 to 65,535 (16bit value)

Re: Using the EEPROM in the MIAC

Posted: Fri Jul 19, 2013 4:05 pm
by Dave @Harper Adams
Okay

Thanks

Re: Using the EEPROM in the MIAC

Posted: Fri Jul 19, 2013 10:56 pm
by medelec35
Hi Dave,
You may already know how to store numbers higher than 255 in EEPROM.

Just in case your not sure I have posted a flowchart here:
http://www.matrixmultimedia.com/mmforum ... 79&#p24210

Hope that will help.

If you need any further help just ask away,