Switch between IoT2 and DB9 RS232

Hi,
I use mangoH green. I can switch between UART1 signal to the ATmega32U4 -> UART1 signal to IOT slot, by using hardware swich pi6.
If I wanted to use IoT2 connector instead DB9 RS232, how could I do it?
Annothhher question how can I swich UART1 between Iot0 and Iot1

image

Are you using WP or HL?

I am using WP8548 moule

If you have installed the mangOH Green sdef, you should be able to use the mux command on the target.

run:
mux --help

and use that to help set the mux properly.

if you want to use an app for control, the following gives an example of how to bind to the gpio expander

https://github.com/mangOH/mangOH/tree/master/samples/tutorials/mangOH_Green/gpio/TouchSensor