Is it safe to allow an eeprom write sequence inside an interrupt service routine, or is that bad form?
For instance:
For instance:
Rich (BB code):
Program running normally
If something is true, start timer0 to count
When timer 0 overflows, T0IF is set
Enter TMR0 Interrupt routine
write to eeprom
clear T0IF
turn off TMR0
Return to normal program