Hi
In simulation (no access to HW to test) Lat is set at a value and then stored in eeprom. Lat can then be set to zero, then read from eeprom returning the correct value. At this point Long had not been set.
When read again in the Decision, Long had been set so perhaps that's the case? I'll test when I get the chance, simulating and in HW.
Thanks for the reminder <s>
Regards
EEPROM_FLOAT PIC16F1939
-
- Valued Contributor
- Posts: 1281
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 312 times
- Been thanked: 452 times
-
- Posts: 83
- Joined: Wed Dec 02, 2020 3:59 pm
- Has thanked: 20 times
- Been thanked: 7 times
Re: EEPROM_FLOAT PIC16F1939
You are right, I did what you told me (0, 4), and the correct data is read.
Enrique
Thanks !!!
Enrique
Thanks !!!