ayushsharma82 / WebSerial

A remote terminal library for wireless microcontrollers to log, monitor or debug your firmware/product
https://webserial.pro
GNU Affero General Public License v3.0
461 stars 107 forks source link

Interface for webserial on port 2 / 3 at ESP32 #52

Closed ghost closed 1 year ago

ghost commented 1 year ago

how is it possible to change the serial interface to port2 or 3 at ESP32. Keyword hardware serial

ayushsharma82 commented 1 year ago

Hi @PfeifferP ,

WebSerial does not attach itself to any hardware serial port. Incoming messages and out going messages can be configured according to the user. Modify this function to suite your needs: https://github.com/ayushsharma82/WebSerial/blob/master/examples/Demo/Demo.ino#L28

You can write a logic to attach both WebSerial and Hardware Serial together.