This commit is contained in:
Renzo Mischianti 2021-01-17 16:55:23 +01:00
commit 1d18950d73

View File

@ -1,4 +1,3 @@
#include "Arduino.h"
/* /*
* PCF8574 GPIO Port Expand * PCF8574 GPIO Port Expand
* Blink all led * Blink all led
@ -53,12 +52,12 @@ void setup()
pcf8574.pinMode(i, OUTPUT); pcf8574.pinMode(i, OUTPUT);
} }
Serial.print("Init pcf8574..."); Serial.print("Init pcf8574...");
if (pcf8574.begin()){ if (pcf8574.begin()){
Serial.println("OK"); Serial.println("OK");
}else{ } else {
Serial.println("KO"); Serial.println("KO");
} }
} }
void loop() void loop()