Use bool instead of boolean in examples

In the Arduino IDE, boolean is an alias for bool.
The Arduino IDE might deprecate boolean in the future, see
https://github.com/arduino/Arduino/issues/4673 for details.
This commit is contained in:
Mikael Falkvidd git@mjo.se
2016-08-06 12:03:22 +02:00
parent 7465308df3
commit 858b80b6a4
7 changed files with 9 additions and 9 deletions
@@ -79,7 +79,7 @@ void presentation() {
void loop()
{
// Read digital motion value
boolean tripped = digitalRead(DIGITAL_INPUT_SENSOR) == HIGH;
bool tripped = digitalRead(DIGITAL_INPUT_SENSOR) == HIGH;
Serial.println(tripped);
send(msg.set(tripped?"1":"0")); // Send tripped value to gw