From 96530b7d834714a25b5fdee19eaec7867415285e Mon Sep 17 00:00:00 2001 From: Thijs Triemstra Date: Sun, 20 Dec 2020 16:26:00 +0100 Subject: [PATCH] remove duplicate import and fix indentation --- .../ledEsp32OnTheSecondI2C.ino | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/examples/ledEsp32OnTheSecondI2C/ledEsp32OnTheSecondI2C.ino b/examples/ledEsp32OnTheSecondI2C/ledEsp32OnTheSecondI2C.ino index b6b71ec..760f2f7 100644 --- a/examples/ledEsp32OnTheSecondI2C/ledEsp32OnTheSecondI2C.ino +++ b/examples/ledEsp32OnTheSecondI2C/ledEsp32OnTheSecondI2C.ino @@ -1,4 +1,3 @@ -#include "Arduino.h" /* * PCF8574 GPIO Port Expand * Blink all led @@ -53,12 +52,12 @@ void setup() pcf8574.pinMode(i, OUTPUT); } - Serial.print("Init pcf8574..."); - if (pcf8574.begin()){ - Serial.println("OK"); - }else{ - Serial.println("KO"); - } + Serial.print("Init pcf8574..."); + if (pcf8574.begin()){ + Serial.println("OK"); + } else { + Serial.println("KO"); + } } void loop()