Page 2 of 2

Re: EEPROM_FLOAT PIC16F1939

Posted: Sun Mar 24, 2024 7:47 pm
by chipfryer27
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

Re: EEPROM_FLOAT PIC16F1939

Posted: Sun Mar 24, 2024 7:50 pm
by ELECTRONICA67
You are right, I did what you told me (0, 4), and the correct data is read. :D

Enrique
Thanks !!!

Re: EEPROM_FLOAT PIC16F1939

Posted: Mon Mar 25, 2024 7:52 am
by medelec35
That's great!
At least you know that one float variable takes four EEPROM addresses.
Thank you for updating us.