Log in

View Full Version : Configuring register problem



shawn
- 22nd January 2005, 03:24
Hey Guys
I'm trying to figure out how to use portd.1 as an I/O pin on a pic18f458. I know that this is a digital and a comparator pin but for the life of me I cannot figure out which registure i need to mess with to turn it into an I/O line. Could someone please give me a little example of how to configure such things.
please help
thanks

NavMicroSystems
- 22nd January 2005, 18:13
Click Here (http://ww1.microchip.com/downloads/en/DeviceDoc/41159d.pdf)

shawn
- 22nd January 2005, 20:03
Thanks Ralph that was funny took me about 20 seconds tofigure out.