Page 1 of 1

pic12f629

Posted: Sun Dec 11, 2005 2:23 am
by bobbykey
will this make pin 7 an output if not can someone write the code for pin 7 to be an output to light an led on the pic12f629 so I can look at it.Thanks

Code: Select all

bsf       STATUS,RPO 
              movlw     00h 
              movwf     85h 
              bcf       STATUS,RPO 
              
start         movlw     01h 
              movwf     05h 
              goto      start 
end 

Posted: Tue Jan 10, 2006 3:19 pm
by Steve
You may have a problem with the bank-switching statements. Instead of RPO, it should be RP0 (i.e. the number zero, not the letter 'O').