piclist 2001\01\18\103444a >
Thread: Reading Outputs as Inputs
www.piclist.com/techref/microchip/ios.htm?key=input
flavicon
face BY : mike@spam_OUTwhitewing.co.uk



On Thu, 18 Jan 2001 10:11:43 +0000, you wrote:

>shawn:
>>Can I set a pin as an
>> output, drive it high and short it to ground with a jumper without
>> damaging the processor?
>
>I wouldn't recommend it, but you can limit the likelyhood of damage by having the pin tristated off
>most of the time and only enabling the drive a few cycles before reading the pin and disabling the
>drive straight afterwards.
This can be a useful method to avoid pullup R's (or re-use existing
output pins) in applications where a very occasional input only is
needed, e.g. to enter a factory calibration/test mode. You can
minimise possible damage by only pulsing the output high for a few
cycles if you expect it to be shorted (e.g. after powerup, to enter a
test mode)

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


<jnpd6tkqhtek52t5n8vue4p4hlulsk0vo4@4ax.com> quoted-printable

In reply to: <802569D8.00395B5D.00@buffer1.HQ.quantel>
See also: www.piclist.com/techref/microchip/ios.htm?key=input
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Reading Outputs as Inputs

month overview.

new search...