Quote:
Originally Posted by wireties
Have you added recent code that generates a lot of interrupts? You could be missing some now. Or maybe...
Your output is going crazy when you try to print your first variable. Is there something wrong with your variables? Is the linker giving you any warnings?
HTH
|
I don't have many interrupts firing at all, and I haven't added any for quite a few builds. It looks like it is the variables making it stop working...and i've seen some pretty strange stuff involving my EEPROM_Read2Byte function (it was CRASHING the COMPILER...

) so maybe...
Code:
unsigned int EEPROM_Read2Byte(unsigned int arg_address) {
//Return the parameter.
return (EEPROM_Read(arg_address) * 0x100) + EEPROM_Read(arg_address+1);
}
See anything wrong? It's Kevin Watson's EEPROM code with my own function added for 2-byte variables...
Now, why don't we have a "beating head on brick wall" smiley?
JBot