From b35086288fbee3056b4997a11723243f056455b9 Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 9 Nov 2017 00:20:51 -0800 Subject: [PATCH] Fix code error and typos on boolean page Includes fix for code error regression previously reported and fixed at https://github.com/arduino/Arduino/issues/5566 --- Language/Variables/Data Types/boolean.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Language/Variables/Data Types/boolean.adoc b/Language/Variables/Data Types/boolean.adoc index 053ea5747..3bcdaf25a 100644 --- a/Language/Variables/Data Types/boolean.adoc +++ b/Language/Variables/Data Types/boolean.adoc @@ -18,7 +18,7 @@ subCategories: [ "Data Types" ] [float] === Description -A `boolean` holds one of two values, `true` or `false`. (Each boolean variable occupies one byte of memory.) +A `boolean` holds one of two values, `true` or `false`. (Each `boolean` variable occupies one byte of memory.) [%hardbreaks] @@ -36,7 +36,7 @@ A `boolean` holds one of two values, `true` or `false`. (Each boolean variable o [float] === Example Code // Describe what the example code is all about and add relevant code ►►►►► THIS SECTION IS MANDATORY ◄◄◄◄◄ -The code shows how to use `boolean` datatype. +This code shows how to use the `boolean` datatype. [source,arduino] ---- @@ -58,7 +58,7 @@ void loop() { // switch is pressed - pullup keeps pin high normally delay(100); // delay to debounce switch running = !running; // toggle running variable - digitalWrite(LEDpin, running) // indicate via LED + digitalWrite(LEDpin, running); // indicate via LED } } ----