Skip to content

Commit 3aeb607

Browse files
make less noisy
1 parent 5fdae20 commit 3aeb607

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

MultiPlexer_PCF8574/MultiPlexer_PCF8574.cpp

+2-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,8 @@ MultiPlexer_PCF8574::MultiPlexer_PCF8574(uint8_t address, uint8_t sda, uint8_t s
1212
}
1313

1414
void MultiPlexer_PCF8574::begin() {
15-
Serial.print("Initializing PCF8574... ");
16-
17-
if (_expander->begin()) {
18-
Serial.println("OK");
19-
} else{
20-
Serial.println("Error!");
15+
if (!_expander->begin()) {
16+
Serial.println("PCF8574 Error!");
2117
}
2218
}
2319

0 commit comments

Comments
 (0)