OK, I try to make a memory pushbutton. If I switch on the power supply and push the button then lit up the led and i want to store to the eeprom value 1 which represent the led is on flag. When I switch off the power supply and then switch on again I want to read value from eeprom and if it is 1 then the led is lit up immediately after power is applied without pushing the button.
I can program the pic, for me not work the write and the read to internal eeprom instruction.
On different chip like 16F688 I normally use the Write and Read command to store and read variable value to internal eeprom like:
WRITE Adress, Value
(write 10,1)
and
READ Adress, Var
(read 10,led)
On 16F690 chip It doesn't work for me. The program stops on the line where is the WRITE command or if the read commadn is first then stops on this line.
Bookmarks