-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Component: DocumentationRelated to Arduino's documentation contentRelated to Arduino's documentation content
Description
Hello I just discovered the the Serial.print() function can be used with conditional testing :
Serial.print(test ? "test=true" : "test=false");
If the "test" variable is true then the output will be :
test=true
If the "test" variable is false then the output will be :
test=false
I just thought this function could appear somewhere in the Serial.print() reference documentation
q2dg
Metadata
Metadata
Assignees
Labels
Component: DocumentationRelated to Arduino's documentation contentRelated to Arduino's documentation content