Skip to content

Commit 871dc31

Browse files
author
Stefania
authored
Merge pull request #206 from per1234/boolean-typo
Fix code error and typos on boolean page
2 parents 0c91da4 + b350862 commit 871dc31

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)