Update serial.md

This commit is contained in:
aha ha Crabronidae 2022-01-12 14:03:58 +01:00 committed by GitHub
parent d0a85fd0d2
commit 75df8044b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
Read and write data over a serial connection.
```cards
serial.writeLine("");
serial.writeLine("Hello");
serial.writeNumber(0);
serial.writeValue("x", 0);
serial.writeString("");
@ -34,4 +34,4 @@ serial.setTxBufferSize(64);
[redirect](/reference/serial/redirect), [writeBuffer](/reference/serial/write-buffer), [readBuffer](/reference/serial/read-buffer),
[redirectToUSB](/reference/serial/redirect-to-usb),
[set rx buffer size](/reference/serial/set-rx-buffer-size),
[set tx buffer size](/reference/serial/set-tx-buffer-size)
[set tx buffer size](/reference/serial/set-tx-buffer-size)