**
**
1. Here is the serial2 serial port using esp32.

1.1. Use String.substring to intercept some data you want.

2. Convert String to int

Arduino serial port transmission friends know that Arduino Serial.read() can only read one byte at a time. So we just read the data directly, display it or use it Arduino converts String to int String...
The above code is the extraction of the parameters in the serial port command by Arduino. The source of the serial command can be Matlab, for example: ...
For the use of the Arduino serial port part, it is somewhat inconvenient. Although the function to be called is officially provided, it is not flexible enough. The following is a summary of the string...
Not much to say, the code first: Output effect: Code explanation: is in the process of complementing c++... I wanted to explain the library functions in depth, but found that it was written in C++ 。。。...
2. Quickly build the Esp32 development environment (vscode+PlatformIO IED) 2.1 Environment Description There are many ways to install the Esp series development board development environment. You may ...
Arduino / VScode + Platformio builds an ESP32 / ESP8266 development environment (a feet) Preface: Getting-start open source hardware development, when building a compilation environment, I deliberatel...
Recently, I was suddenly interested in the Attiny13 / 85 microcontroller and wanted to start playing. Unexpectedly, it took several days to configure the Arduino IDE. One part may be the cause of the ...
First, the ESP32 has a total of 3 serial ports, and 3 serial tubes can be returned. ESP32 specification: (Documentation -> ESP32 Technical Specifications) Second, the basic steps used by ESP32 seri...
First, the problem description Consider such a serial communication model: The host is inquiry by the serial port to the ESP32, and the ESP32 is connected to the interrupt, in the interrupt, answer th...
Download and install the latest version ofarduinosoftware Enter the official website Arduino software download pagehttps://www.arduino.cc/en/Main/Software?setlang=enArduino download the latest softwar...