All outputs of the Wemos (that are inputs to the motor driver) neeed to be on the right side, so they can have direct connect when stacking. The rest of the pins will be disconnected.
But in order for this to work, I need to allocate GPIO1, GPIO3 to be general purpose IOs, and cancel the RT/TX task. This can be done by:
pinMode(led_red, FUNCTION_3); //GPIO 1 swap the pin to a GPIO.
pinMode(led_green, FUNCTION_3); //GPIO 3 swap the pin to a GPIO
My question: can I assign the TX/RX part to other pins? I still want to use the serial.print commend with the USB, for the debug process. Can the serial.print work with out the GPIO1/3 active as TX/RX?