Please Somebody help me!
I need to know:
How to set PORTA.6 and PORTA.7 as outputs in PIC 16F819?
Thanks in advance
Oswaldus
Please Somebody help me!
I need to know:
How to set PORTA.6 and PORTA.7 as outputs in PIC 16F819?
Thanks in advance
Oswaldus
PORTA.6 and PORTA.7 on the 16F819 are the oscillator pins. I assume therefore that you are using the internal oscillator. If so, you need to make sure the config bits for the oscillator are set to _INTRC_IO (assuming you are using PMASM as your assembler).
"I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams
Greetings Kamikaze47,
Thanks for your reply
Yes I am using internal oscillator.
I don't know How set config bits in _INTRC_IO, Can you let me know, How I make this from PicBasic Pro?
Thanks in advance
Oswaldus
Dave
Always wear safety glasses while programming.
OK,
I aded @ __config _INTRC_OSC_NOCLKOUT to set the PIC for Internal Oscillator allowing
use of the OSC pins as I/O, but when I compile, the error 44 : symbol not previously defined
appear.
Any suggestion?
thanks,
Oswaldus
Bookmarks