Interrupt upon receiving data through USB UART

mitchellclaxton
Posts: 5
Joined: Tue Jan 29, 2019 12:36 am

Interrupt upon receiving data through USB UART

Postby mitchellclaxton » Tue Jan 29, 2019 12:54 am

I tried searching this forum for a similar thread but i couldn't find anything.

I'm controlling a robot with an ESP32 from a laptop via COM port. I don't want to continuously poll for data (Serial.available()).

On TI MSP430 boards we could have an ISR when the board receives bytes via USB.

How do i do this for the ESP32-WROVER in Arduino IDE?

I have a feeling it's an easy thing to implement but I don't know what pin the USB UART is on so I don't know how to attach it.

Or it is even required to attach one.

Please help! Thank you.

boarchuz
Posts: 298
Joined: Tue Aug 21, 2018 5:28 am

Re: Interrupt upon receiving data through USB UART

Postby boarchuz » Tue Jan 29, 2019 4:29 am

3 is Rx

Who is online

Users browsing this forum: No registered users and 18 guests