Skip to content

*Question* USB OTG #3

Description

@radensb

@rampage128
In the INO file, there is code that defines pin 3 as an output and sets it high in the setup().
// pin3 set to high for USB-OTG
pinMode(3, OUTPUT);
digitalWrite(3, HIGH);

The comment above it states that this is for USB OTG. This is the only mention of USB OTG I have seen in this project. Can you elaborate on what this signal is for? All of the USB OTG wiring diagrams show that the OTG adapters ground the sense pin (which I initially thought this was for), so setting it high adds more confusion with regards as to what it is for. Couldn't one just use an OTG adapter or is there special wiring going on using pin 3? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions