Configure A/D Pins

Coding and general discussion relating to user created compiler modules

Moderators: David Barker, Jerry Messina

Post Reply
Widgetman
Posts: 136
Joined: Sun Dec 16, 2007 7:39 pm
Location: Florida

Configure A/D Pins

Post by Widgetman » Tue Jan 29, 2008 10:15 pm

Hi,
I am trying to figure out how to set PORTB pins 0 and 1 on a 18F45J10 to be digital outputs instead of A/D pins. Does anyone know how to do this to make sure they are set up as Digital pins ?
Thanks

Widgetman
Posts: 136
Joined: Sun Dec 16, 2007 7:39 pm
Location: Florida

I figured It Out !!

Post by Widgetman » Wed Jan 30, 2008 1:01 am

Never Mind I figured out where I was being stupid at. Defining a pin as input can be a digital or analog input, but a output is out.
I had a bad solder joint. :)

Post Reply