Skip to content

Error in cheat sheet documentation for UNO R4 WiFi #1322

Closed
@Grumpy-Mike

Description

@Grumpy-Mike

1. Software - By pulling D40 to HIGH you will close the circuit that controls which MCU is connected to USB. While D40 is HIGH, the RA4M1 is connected to the USB Serial port, and while D40 is LOW the ESP32 is connected, like the default configuration.
You can do this by including the following code in `void setup()`
```arduino
pinMode(40, OUTPUT);
digitalWrite(40, HIGH);

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcommunityBugs and fixes suggested by the communitymaker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions