Just create a simple sketch like this:@mrdude @Leeful
Thanks for your suggestions, for USB I am pretty sure it is flashed properly, as it works for more than one year since 9.00 JB has been released. To make sure I flashed it and test again with online web hosts and worked as expected. Also I flashed with main (4 MB) and Pico (few KB) and moded file of mrdude (which is not bringing pop-up notification), and for all the results were same, working fine im online host, but not working in ESP madule.
Then, for change sketch to be working as direct USB, unfortunately I don't have enough skill to do, if you help me how to code it I would be thankful
Code:
int usbPin = D2; //set up whatever pin you have usb connected to here
void setup(void)
{
pinMode(usbPin, OUTPUT);
digitalWrite(usbPin, HIGH);
}
void loop(void) {
}
That way your esp32 will act as a USB drive, use the online host to see if it works. I imagine you have a problem with your soldering/circuit or you don't have the usb pin assigned properly - that's why I told you to connect an LED to the pin that powers the USB drive to see if it lights up when the USB drive is meant to be activated.
Last edited by mrdude,