Re: Correct way to program ports on 16F628A - Help



Syd wrote:
I am trying to learn PIC assember.
Can someone please give me the correct assembler code to program a
16F628A with all pins on PORTA and PORTB as outputs and then toggle
them Hi and Lo.
My efforts to date using MPLAB has always resulted in an error.
Thanks
Syd


If it were the 16F88, I'd be able to help, because that's what I have.
Either way, it seems as if the following might be a lead to what you
want (one of the programs does exactly what you asked for):

http://www.winpicprog.co.uk/pic_tutorial1.htm

Don't fear the Google.
PSM
.



Relevant Pages


Quantcast