Hello CocoaColaKid,
CCK>What would the command be to configure the 12F675 to use the GPIO.3 pin as an input all the time. The programmer keeps defaulting back to MCLR.<<
There is no command. BUT! on your source code for your compiler you can put the command...to make sure your programmer keeps it to "input". PUt it at the top of your program.
@ DEVICE PIC12F675,MCLR_OFF or..
@ DEVICE PIC12F675,MCLR_ON. Which ever way you want.
If you look in the INC file of the 12F675, you can see all the control switches...
Doing this will take a little extra room in your file, but hey...its worth it to me.
This is also in the FAQ Section too.
Dwayne
Last edited by Dwayne; - 28th July 2004 at 20:29.
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks