I WROTE A BLINK PROGRAM USING 16F628,
CMCON = 7 ; turn comparator off
; the osc used is INTRCIO in the OSCILATOR SELEC OF MELAB
LOOP ; this part copy form melab introduction
HIGH PORTB.7 ; make port B7 high
PAUSE 500 ; pause for 0.5 sec
LOW PORTB.7 ; make port B7 low
PAUSE 500
GOTO LOOP
END
it does not work. the input voltage is 5V ( to the pin 14), the output is 1.0 V for each output pin , no external osc connected; (i HAVE TRIED FOR 3 DIFFERENT IC'S, AND DIFFERENT INTERNAL OSC'S
ANY HELP I DO APPRE.
Bookmarks