How to switch a port input<>output on the fly ?
Hi there
I'm a little embarrassed to post this, but.. Coming from Microchip world I would just change TRISx, so simple.
As I've learned so far the MX are in charge for setting up a port.
But in my application I need to set a 8 bit wide port for parallel interface to a device.
Also it needs to change output <> input.
My first thoughts were not to tell the MX about the device on port PC0 to PC7.
Then do the setup "manually" in the code.
But then again I think this so common, there must be a MX way of doing this.
Thank you.

