hello
i have one input (to my device acting like a chip select wich can be any general I/O )that has an internal pull-up resistor and
should be left open (tri-stated by the microcontroller). i don't know how this is done.the pin in question is an output to my micrcontroller.
PIN X :Input with internal pullup resistor (input to device)
Should be driven high or high-impedance to minimize
power consumption
if anyone has an idea onhow this done this could be a great help
thank
Ttelmah Guest
Posted: Sat Mar 17, 2007 4:18 am
If you set a pin as an input (just read from it, if you are using 'standard_io', or change the tris), then the ouput drivers in the PIC are turned off. The instruction 'output_float', also does the same thing, without you having to read the pin.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum