From 3beb8eb66d8e22f30084a56acced666c57c40e8c Mon Sep 17 00:00:00 2001 From: SeppPenner Date: Tue, 3 Sep 2019 08:09:53 +0200 Subject: [PATCH] Fixed wrong double quotes in examples. --- Language/Functions/Communication/Serial/print.adoc | 2 +- Language/Functions/Communication/Serial/write.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Language/Functions/Communication/Serial/print.adoc b/Language/Functions/Communication/Serial/print.adoc index e43fa2665..eb2d5732f 100644 --- a/Language/Functions/Communication/Serial/print.adoc +++ b/Language/Functions/Communication/Serial/print.adoc @@ -34,7 +34,7 @@ An optional second parameter specifies the base (format) to use; permitted value You can pass flash-memory based strings to `_Serial_.print()` by wrapping them with link:../../../../variables/utilities/progmem[F()]. For example: -`Serial.print(F(“Hello World”))` +`Serial.print(F("Hello World"))` To send data without conversion to its representation as characters, use link:../write[Serial.write()]. [%hardbreaks] diff --git a/Language/Functions/Communication/Serial/write.adoc b/Language/Functions/Communication/Serial/write.adoc index 494d2210b..aa2117dfb 100644 --- a/Language/Functions/Communication/Serial/write.adoc +++ b/Language/Functions/Communication/Serial/write.adoc @@ -58,7 +58,7 @@ void setup() { void loop() { Serial.write(45); // send a byte with the value 45 - int bytesSent = Serial.write(“hello”); //send the string “hello” and return the length of the string. + int bytesSent = Serial.write("hello"); //send the string "hello" and return the length of the string. } ---- [%hardbreaks]