|
Re: Printf prints only the first character
Your last two parameters in the third printf() are single bytes. The %d specification wants to see two-byte integers. You are thus causing it to try to read more data than you've provided, which results in really really weird printing.
If those last two things are really single bytes, make the printf() happy by saying (int)EEPROM_Read(...). Otherwise, correct them to say EEPROM_Read2Byte(...).
|