There was an error while loading. Please reload this page.
1 parent f6d173b commit a2a9f56Copy full SHA for a2a9f56
libraries/Max44009/max44009.cpp
@@ -26,7 +26,7 @@
26
Max44009::Max44009(const uint8_t address, const uint8_t dataPin, const uint8_t clockPin)
27
{
28
_address = address;
29
- if ((dataPin < 255) && (dataPin < 255))
+ if ((dataPin < 255) && (clockPin < 255))
30
31
Wire.begin(dataPin, clockPin);
32
} else {
0 commit comments