I'm doing a project with a PIC16F628, which I havn't used before and I noticed, that I have to configure the RA5-pin to be /MCLR. How can I do that in a normal assembler code?
Electronics4you
________________________________________________
"If the day seems bad - try www.electro-tech-online.com"
I'm doing a project with a PIC16F628, which I havn't used before and I noticed, that I have to configure the RA5-pin to be /MCLR. How can I do that in a normal assembler code?
What do you mean? The RA5 pin *is* MCLR. There's nothing to do there except apply 5V to it to reset your PIC. If you want to use the RA5 pin for I/O, you set the MCLRE config bit to use the internal pull-up at power-up.