From 75df8044b2ab68646a188efebecb731c50831f46 Mon Sep 17 00:00:00 2001 From: aha ha Crabronidae Date: Wed, 12 Jan 2022 14:03:58 +0100 Subject: [PATCH] Update serial.md --- docs/reference/serial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/serial.md b/docs/reference/serial.md index a59ed0ac..64f779c9 100644 --- a/docs/reference/serial.md +++ b/docs/reference/serial.md @@ -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) \ No newline at end of file +[set tx buffer size](/reference/serial/set-tx-buffer-size)