Skip to content

Fixed wrong double quotes in examples. #700

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Language/Functions/Communication/Serial/print.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion Language/Functions/Communication/Serial/write.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down