set Wire.setClockStretchLimit(2500) because aliexpress chirp clone does not work correctly

This commit is contained in:
Marcus 2024-11-22 01:51:03 +01:00
parent 1c0beb58aa
commit 461b816115

View file

@ -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