Closed
Description
Observation using an Oscilloscope on the select line shows that using D40 does not change the select line. Further observation shows that pin 21 does change the data select line. In addition the state of this line is the inverse of the information shown that section quoted above. So that section of the documentation should say:
Software - By pulling D21 to LOW you will close the circuit that controls which MCU is connected to USB. While D21 is LOW, the RA4M1 is connected to the USB Serial port, and while D21 is HIGH the ESP32 is connected. You can do this by including the following code in
void setup()
pinMode(21, OUTPUT); digitalWrite(21, LOW);