You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/hardware/02.hero/boards/uno-r4-minima/tutorials/cheat-sheet/cheat-sheet.md
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -436,6 +436,20 @@ if(Serial.available() > 0) {
436
436
}
437
437
```
438
438
439
+
### SerialUSB
440
+
441
+
The UNO R4 Minima has an extended set of Serial methods:
442
+
443
+
-`Serial.baud()` - Returns the baud rate **(int)** currently used.
444
+
-`Serial.stopbits()` - Returns the number of stop bits **(int)** used in the communication.
445
+
-`Serial.paritytype()` - Returns the type of parity **(int)** used in the communication.
446
+
-`Serial.numbits()` - Returns the number of data bits **(int)** used in the communication.
447
+
-`Serial.dtr()` - Returns the status of the Data Terminal Ready (DTR) signal **(bool)** and also sets the- ignore_dtr flag to true if the DTR signal is actively used.
448
+
-`Serial.rts()` - Returns the status of the Request to Send (RTS) signal **(bool)**.
0 commit comments