diff --git a/NuEVI/menu.cpp b/NuEVI/menu.cpp index 08cdf01..3bee8f3 100644 --- a/NuEVI/menu.cpp +++ b/NuEVI/menu.cpp @@ -200,7 +200,7 @@ extern const MenuPage mainMenuPage; // Forward declaration. #define OLED_RESET 4 -Adafruit_SSD1306 display(128, 64, &Wire, OLED_RESET); +Adafruit_SSD1306 display(128, 64, &Wire, OLED_RESET,1000000,1000000); int drawBatt(int x,int y){ display.drawRect(x+1,y,3,3,WHITE); diff --git a/README.md b/README.md index 7ff5d42..bcd7ff9 100755 --- a/README.md +++ b/README.md @@ -18,16 +18,6 @@ added directly via the Library Manager in the Arduino IDE: * Adafruit SSD1306 (version 1.2.9 or above) * NuEVI also includes on the [Filters](https://github.com/JonHub/Filters) library by Jonathan Driscoll, but that is no longer an external dependency. -For the SSD1306 library, the Adafruit_SSD1306.h file needs to be edited to prevent it from lowering the I2C speed. - -Change this: - Adafruit_SSD1306(uint8_t w, uint8_t h, TwoWire *twi=&Wire, int8_t rst_pin=-1, - uint32_t clkDuring=400000UL, uint32_t clkAfter=100000UL); - -To this: - Adafruit_SSD1306(uint8_t w, uint8_t h, TwoWire *twi=&Wire, int8_t rst_pin=-1, - uint32_t clkDuring=1000000UL, uint32_t clkAfter=1000000UL); - ### Compile options