Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

TRIS change?

Status
Not open for further replies.

zhaniko93

New Member
Hello.
I have a simple question: can I use one port as an input and as output?
I mean, I want to send 1 bit data from MCU A to B with one wire, so one idea came to my head: what if I just send a bit with wire, than change the according TRIS register and wait for response? Can I change TRIS in the middle of the program many times?
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top