setting a pin to float?
Archiver
Posts: 46,084
Does anyone know how to set a pin to float after setting it high or low?
Thanks,
Alina
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
[noparse][[/noparse]Non-text portions of this message have been removed]
Thanks,
Alina
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
[noparse][[/noparse]Non-text portions of this message have been removed]
Comments
>Does anyone know how to set a pin to float after setting it high or low?
Set that pin as input.
dwayne
--
Dwayne Reid <dwayner@p...>
Trinity Electronics Systems Ltd Edmonton, AB, CANADA
(780) 489-3199 voice (780) 487-6397 fax
Celebrating 19 years of Engineering Innovation (1984 - 2003)
.-. .-. .-. .-. .-. .-. .-. .-. .-. .-
`-' `-' `-' `-' `-' `-' `-' `-' `-'
Do NOT send unsolicited commercial email to this email address.
This message neither grants consent to receive unsolicited
commercial email nor is intended to solicit commercial email.
>
>Thanks,
>
>Alina
Assuming you are using a BS2, change the "dirs" (direction setting)
for that pin from output to input. Then remember to change it back
again if you need it to assert a LOW or HIGH later in the program.
Reg
Original Message
> Does anyone know how to set a pin to float after setting it high or low?
Reginald Neale wrote:
> ... change the "dirs" (direction setting)
> for that pin from output to input. Then remember to change it back
> again if you need it to assert a LOW or HIGH later in the program.
Don't HIGH and LOW make the pin an output, then set the state?
best regards, Jack
-- Jon Williams
-- Parallax
In a message dated 3/2/2003 8:43:45 PM Eastern Standard Time, goflo@p...
writes:
>Hi Reg -
>
>Reginald Neale wrote:
>
>> ... change the "dirs" (direction setting)
>> for that pin from output to input. Then remember to change it back
>> again if you need it to assert a LOW or HIGH later in the program.
>
>Don't HIGH and LOW make the pin an output, then set the state?
>
>best regards, Jack