When I used to program PICs, there was a way to set the pins to input and output, at the same time. Can this be done on the Arduino? I see the pinmode documentation, but nothing about being an IO port.
closed as unclear what you're asking by Gerben, Nick Gammon♦, James Waldby - jwpat7, Avamander Jan 21 '16 at 20:46
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
No there is no function that lets you set all the pins to either input or output at the same time, but it wouldn't take much to write one.
No, you can't set an Arduino's pin as bidirectional. If you are running out of pins look at IO expanders or multiple Arduinos.
Hope that helps, if not please feel free to clarify what it is you would like to know and we'll try and help.