Exact match. Not showing close matches.
PICList
Thread
'[PIC]: lost info on tristating pins'
2002\05\02@155542
by
Micro Eng
Somewhere...I had my answer and now I can't find it again.
I need to tristate output pins as the code is running....if I recall there
is something to do with using the TRIS command, but I thought it was related
to the entire port and not just bits. I need to basically talk to one bus,
but with two pins, so can't have them on at the same time or else
contention.
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
2002\05\02@162111
by
Olin Lathrop
> Somewhere...I had my answer and now I can't find it again.
>
> I need to tristate output pins as the code is running....
All the PIC manuals are on line, so you can always refer to them when you
lose yours.
*****************************************************************
Embed Inc, embedded system specialists in Littleton Massachusetts
(978) 742-9014, http://www.embedinc.com
--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
2002\05\02@182331
by
Barry Gershenfeld
>there
>is something to do with using the TRIS command, but I thought it was related
>to the entire port and not just bits.
It's bits. TRIS sets a register, at the same address as the port but in
a different bank, and each bit corresponds to the same bit in the port
register but controls direction instead of data.
Barry
--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
More... (looser matching)
- Last day of these posts
- In 2002
, 2003 only
- Today
- New search...