Skip to content

Commit

Permalink
Remove Wire.begin to avoid ESPx crash and setClock reset.
Browse files Browse the repository at this point in the history
  • Loading branch information
nseidle committed Jul 9, 2019
1 parent e311236 commit a6c7f5b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/SerLCD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,6 @@ void SerLCD::begin(TwoWire &wirePort)
_serialPort = NULL; //Set to null to be safe
_spiPort = NULL; //Set to null to be safe

//We expect caller to begin their I2C port, with the speed of their choice external to the library
//But if they forget, we start the hardware here.
_i2cPort->begin();

//Call init function since display may have been left in unknown state
init();
} // begin
Expand Down

0 comments on commit a6c7f5b

Please sign in to comment.