hi.
I just got a 12f629 unit and i'm tryng to get it to output high at pin 7.
after some intense learning around the net, I managed to write an assembly program and burn it to the chip.
I don't Seem to get any results, so I'm asking for the experts word.
any help?
thanks.
I just got a 12f629 unit and i'm tryng to get it to output high at pin 7.
after some intense learning around the net, I managed to write an assembly program and burn it to the chip.
I don't Seem to get any results, so I'm asking for the experts word.
Rich (BB code):
list p=12f629
#include <p12f629.inc>
__CONFIG _CP_OFF & _CPD_OFF & _BODEN_OFF & _MCLRE_OFF & _WDT_OFF & _PWRTE_ON & _INTRC_OSC_NOCLKOUT
cblock 0x20
delay1
delay2
tone1
tone2
endc
;*****************<<
;Start
;*****************<<
ORG 0x000
goto SetUp
ORG 0x004
nop
nop
nop
SetUp
pin7 equ 0
bsf STATUS,rp0
movlw b'00110111'
movwf TRISIO
bcf status,rp0
goto Main
Main
bsf GPIO,pin7
end
thanks.