i\p & o\p same pin

Status
Not open for further replies.

sahu

Member
i have requirer i\p & o\p same pin .i\p as logic high\low & o\p is for relay drive ...
it may possible ?
 
Last edited:
Are you trying to read the state on the relay on the same pin are turning it on? I need a circiut or something.

Ian
 
And what's to prevent a high input from triggering the relay drive that's on the same circuit?
 
Go ahead and explain what your other input and outputs are like and we will go from there.

i have 2 pin in 16f676 which are pin no...2 ---RA5/T1CKI/OSC1/CLKIN &
pin no...4 ---RA3/MCLR/VPP.
i have requirements 2 i\p, & 1 o\p....
(1)_ mains on & (2)_ inverter on and (3)_for relay drive..
pin no...4 is only for i\p .so , how can i use it ?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…