F84 does fine episode ii: the attack of the code
Hernán Freschiemail (remove spam text)
Hello everyone. The code I used for my previous post was designed for
C54 (read microchip’s an590), but I also made another program, that
doesn’t work either: it enables all outputs for 6 hours and disables
them for 18:
I didn’t add “ORG 0” before this and “ORG 1FF, GOTO SETUP” at the end.
Could THAT be the problem? Doesn’t the processor cycle the program? Or
does it stop the execution at the end of the program? Does the
oscillator stop at that time? If so, is there a way to add that last
line to an already programmed pic? (I’m asking that because they are now
REALLY expensive in my country – Argentina).
APAGADO equ 0x00
ENCENDIDO equ 0xff
SETUP movlw 0x00
INICIO movlw ENCENDIDO
delay6 and delay18 are standard delays (generated by the code generator
Thanks in advance.
http://www.piclist.com hint: To leave the PICList
seeking: application notes
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the