How do I address the USB port of my Wemos lolin32 lite in micropython?
How do I address the USB port of my Wemos lolin32 lite in micropython?
Title says it all, is it possible to read data from the microUSB port on my board and get the power from another source? Mycropython is not essential, but would make things easier. Sorry if this is a stupid question, but I can't find anything about it on the internets
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: How do I address the USB port of my Wemos lolin32 lite in micropython?
The USB port on your board is most likely connected to an USB-serial converter, which in turn is connected to the serial port of the ESP32. If what you're trying to connect the micro-USB-port to is okay with acting as a host and talking to an USB-to-serial converter, you can use the standard serial communication functions of whatever language you use. If not... well... unfortunately there's not much you can do without modifying the hardware.
Re: How do I address the USB port of my Wemos lolin32 lite in micropython?
That was exactly what I wanted to do, thank you very much.
Who is online
Users browsing this forum: Google [Bot], s.allasia and 82 guests