PDA

View Full Version : PortA 16F627



tonyfelloni
- 16th May 2008, 00:40
Hi
I have a few questions relating to the use of portA on this PIC.
The pin outs describe pin 4 as RA5\MCLR, if not used as MCLR does this mean I can use RA5 as a regular output and if so, how?

Also the same is true for pin 15 = RA6\OSC2\CLKOUT. I am using the internal OSC so how do I use this pin as a regular output?

Any help is appreciated

Tony

skimask
- 16th May 2008, 00:55
The pin outs describe pin 4 as RA5\MCLR, if not used as MCLR does this mean I can use RA5 as a regular output and if so, how?
Change the CONFIG fuse bits... except for the fact that RA5/MCLR can only be used as an input.


Also the same is true for pin 15 = RA6\OSC2\CLKOUT. I am using the internal OSC so how do I use this pin as a regular output?
Same thing, change the CONFIG bits to change the oscillator mode (Internal osc, RA6 I/O)

mister_e
- 16th May 2008, 14:48
How? read the following
http://www.picbasic.co.uk/forum/showthread.php?t=543

tonyfelloni
- 17th May 2008, 16:12
Thanks Guys