|
Re: read/write EEPROM on 18F8520
Quote:
|
Originally Posted by Paul
 I was going over the code given on this post and I was wondering what memory address's are avalible to write to? And how much information can be fit into a single address when using unsigned chars? Any help would be appreciated.
|
I have not looked at the Wizard's code, but traditionally, one byte (8 bit or (un)signed char) is one address location. Words, AKA 16 bit values such as integers) will take up two adjacent addresses. Most processors will require words to be aligned on even address boundries.
__________________
Mike Betts
Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013
As easy as 355/113...
|