PIC16f88 not persisting (by Juan)
Hi there,
I have written a program that stores a set point of a pot and turns on an LED when the pot crosses that value +- a dead band. The "make persist" instruction doesn't seem to work with the PIC16F88, when a switch the power off and back on again the set point is lost.
Any ideas?
(no subject) (by Juan)
Hi,
By making the rung condition always true, will you not store the value in the EEPROM every time the scan time cycle passes over the rung?
no subject (by simon)
Hi
Every transition of "XBRG" from 0 to 1 , result on saving data of "BRG" to "PERSIST" .
Don't care the scan of rungs . The data whill change only when the "XBRG" change from 0 to 1 .
See Jonathan example .