set Wire.setClockStretchLimit(2500) because aliexpress chirp clone does not work correctly
This commit is contained in:
parent
1c0beb58aa
commit
461b816115
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ void setup() {
|
||||||
Serial.println(":: initialise I2C ::");
|
Serial.println(":: initialise I2C ::");
|
||||||
// initialise Wire for I2C
|
// initialise Wire for I2C
|
||||||
Wire.begin();
|
Wire.begin();
|
||||||
|
Wire.setClockStretchLimit(2500);
|
||||||
Serial.println(":: initialise display ::");
|
Serial.println(":: initialise display ::");
|
||||||
// initialise I2C display
|
// initialise I2C display
|
||||||
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // Address 0x3C for 128x64
|
display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // Address 0x3C for 128x64
|
||||||
|
|
Loading…
Reference in a new issue