Merge pull request #177 from DarkZeros/SPI20MHz

SPI set to 20MHz
pull/127/merge
SQFMI 9 months ago committed by GitHub
commit fdfe7ee2be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/Watchy.cpp

@ -20,6 +20,7 @@ void Watchy::init(String datetime) {
RTC.init();
// Init the display here for all cases, if unused, it will do nothing
display.epd2.selectSPI(SPI, SPISettings(20000000, MSBFIRST, SPI_MODE0)); // Set SPI to 20Mhz (default is 4Mhz)
display.init(0, displayFullInit, 10,
true); // 10ms by spec, and fast pulldown reset
display.epd2.setBusyCallback(displayBusyCallback);

Loading…
Cancel
Save