Hi,
I am using Flowcode to create a PIC program that counts down minutes on a seven segment display. I also want to add a function to the program where, at a certain point, a variable is stored in the eeprom. At another point in the program, that data is retrieved and stored in another variable.
This is so when the power is turned off, the PIC remembers the preset time.
For example...
Set Macro
1.Get keypad number for time preset
2.Store number in eeprom
Read Switch
Start Timer Macro
1. Get data in eeprom
2. Start TMR0
3. Count down from that number
The flowcode program has an option to add blocks of C code and ASM within a program,
so if possible the function would be in one of these languages. I am a beginner in terms of programing.
Thanks in advance,
Cameron