![]() ![]() Prints data to the serial port as human-readable ASCII text followed by a carriage return character (ASCII 13, or '\r') and a newline character (ASCII 10, or '\n'). Notesįor platform.io change the serial monitor baudrate in platform.ini. You can find more information on the Arduino website. The operation of the serial port is exactly the same as that of Arduino. So you can use it in the serial monitor on your computer.The default pins for the other three global serial ports are 6(RX), and 7(TX) (they are connected to the WiFi module),To use them correctly, set different pins for them in begin(). Serial uses the default pin as 4 (RX), 5 (TX). The Serial corresponds to the UARTHSClass, and the remaining Serial1, Serial2, and Serial3 are UARTClass. ![]() ![]() In Maixduino, there are two types of serial devices, UARTHSClass and UARTClass. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |