Skip to content

Wrong code in example on boolean reference page #5566

Closed
@ckwiek

Description

@ckwiek

Hi, there is a syntax error in the official page of example the link below.

https://www.arduino.cc/en/Reference/BooleanVariables

It is missing one ; (Semicolon) in the last line of code,

digitalWrite (ledPin, running) // Indicate via LED)

I pointed out this link for a beginner, and then realized the error.

Regards.

Carlos Kwiek

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions