@@ -38,9 +38,7 @@ class LiquidCrystal_PCF8574 : public Print
38
38
public:
39
39
LiquidCrystal_PCF8574 (uint8_t i2cAddr);
40
40
// note:
41
- // There is no sda and scl parameter for i2c in any api.
42
- // The Wire library has standard settings that can be overwritten by using Wire.begin(int sda, int scl) before calling LiquidCrystal_PCF8574::begin();
43
-
41
+ //
44
42
// When using multiple I2C ports one can initialize with
45
43
// LiquidCrystal_PCF8574 lcd(0x27); // create lcd
46
44
// TwoWire myWire = TwoWire(); // create new wire instance
@@ -50,10 +48,11 @@ class LiquidCrystal_PCF8574 : public Print
50
48
// lcd_port = &myWire; // Keep address to wire instance
51
49
// lcd.begin(clos, rows, *lcd_port); // Initialize lcd
52
50
//
53
- // and in the main program update display with
51
+ // and in the main program one updates display with
54
52
// # if defined(ESP8266)
55
- // Although we created multiple wire ports, in ESP8266 there is only one wire structure available
56
- // Each time we switch to different i2c port we need to switch the pins
53
+ // ESP8266 is special case because there is only one wire structure available
54
+ // Although we can created multiple wire interfaces we still need to specify SDA and SCL
55
+ // before each transmission:
57
56
// lcd_port->begin(sdaPin, sclPin);
58
57
// lcd_port->setClock(100000);
59
58
// lcd_port->setClockStretchLimit(200000); // 200ms, for slow devices
0 commit comments