I want to use PB0 and PB1 to output adjust current supplied
to a LED (LED tot current= PB0 mA + PB1 mA). And I afraid
there will be a reverse current to PB0 or PB1 when either one
is turn off and another turn on.
So, What is the command to float PIC output pin when not used?
Or is that possible to use a 1N4001 to cut the reverse current?
Appreciate for your help.
Regards: Min Siang, _________________ Einly
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
Posted: Wed Apr 13, 2005 6:52 am
output_float(pin)
It goes with the functions output_low(pin) and output_high(pin). _________________ The search for better is endless. Instead simply find very good and get the job done.
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