Skip to content

Commit a6c7f5b

Browse files
committed
Remove Wire.begin to avoid ESPx crash and setClock reset.
1 parent e311236 commit a6c7f5b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/SerLCD.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,6 @@ void SerLCD::begin(TwoWire &wirePort)
117117
_serialPort = NULL; //Set to null to be safe
118118
_spiPort = NULL; //Set to null to be safe
119119

120-
//We expect caller to begin their I2C port, with the speed of their choice external to the library
121-
//But if they forget, we start the hardware here.
122-
_i2cPort->begin();
123-
124120
//Call init function since display may have been left in unknown state
125121
init();
126122
} // begin

0 commit comments

Comments
 (0)