Skip to content

Commit b350862

Browse files
committed
Fix code error and typos on boolean page
Includes fix for code error regression previously reported and fixed at arduino/Arduino#5566
1 parent 105dee6 commit b350862

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Language/Variables/Data Types/boolean.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ subCategories: [ "Data Types" ]
1818

1919
[float]
2020
=== Description
21-
A `boolean` holds one of two values, `true` or `false`. (Each boolean variable occupies one byte of memory.)
21+
A `boolean` holds one of two values, `true` or `false`. (Each `boolean` variable occupies one byte of memory.)
2222

2323

2424
[%hardbreaks]
@@ -36,7 +36,7 @@ A `boolean` holds one of two values, `true` or `false`. (Each boolean variable o
3636
[float]
3737
=== Example Code
3838
// Describe what the example code is all about and add relevant code ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄
39-
The code shows how to use `boolean` datatype.
39+
This code shows how to use the `boolean` datatype.
4040

4141
[source,arduino]
4242
----
@@ -58,7 +58,7 @@ void loop()
5858
{ // switch is pressed - pullup keeps pin high normally
5959
delay(100); // delay to debounce switch
6060
running = !running; // toggle running variable
61-
digitalWrite(LEDpin, running) // indicate via LED
61+
digitalWrite(LEDpin, running); // indicate via LED
6262
}
6363
}
6464
----

0 commit comments

Comments
 (0)