PDA

View Full Version : 12F675 Serout



BobSpencerr
- 12th December 2003, 02:20
Can anyone help.
I wrote a program for the 12F629 which used serout on porta.3 and it worked perfectly. I could not get hold of anynmore of the 12f629 and found that I can get the 12F675 easily. I compiled the code for this processor and all elese works but the porta.3 is silent.

I know that this pi is part of an onboard a to d converter and would assume that I may have to set this to off somehow.

Anyone else come across this before?

Thanks for any advice.

Melanie
- 12th December 2003, 11:20
You MUST check the PIC's Datasheets when you swap from one device to another. Look at the pin diagram, GP.3 is INPUT ONLY. Reassign to another pin if you require SEROUT.

BobSpencerr
- 15th December 2003, 00:57
Dear All,
I thank you for your responces.
I have fixed this problem.
I had to turn the a to d and comparator modules off to allow for digital access to the port.


Thanks again.

Melanie
- 15th December 2003, 10:09
Bob - Your original posting indicated you wanted to use SerOUT on an 12F675 pin GP.3... Did you reassign the pin to another I/O?, otherwise you gotta tell us how you got SerOUT to work on an INPUT ONLY pin...