diff --git a/Adafruit_SSD1351.cpp b/Adafruit_SSD1351.cpp index e5e27e4..403abc6 100644 --- a/Adafruit_SSD1351.cpp +++ b/Adafruit_SSD1351.cpp @@ -39,6 +39,8 @@ #define SPI_DEFAULT_FREQ 16000000 ///< ARC32 SPI default frequency #elif defined (__AVR__) || defined(TEENSYDUINO) #define SPI_DEFAULT_FREQ 8000000 ///< AVR SPI default frequency +#elif defined(__SAMD51__) + #define SPI_DEFAULT_FREQ 12000000 ///< M4 SPI default frequency #elif defined(ESP8266) || defined (ARDUINO_MAXIM) #define SPI_DEFAULT_FREQ 16000000 ///< ESP8266 SPI default frequency #elif defined(ESP32)