File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ void M5Stack::begin() {
3131 Lcd.setBrightness (50 );
3232
3333 // TF Card
34- SD.begin (TFCARD_CS_PIN);
34+ SD.begin (TFCARD_CS_PIN, SPI, 27000000 );
3535
3636 // Set wakeup button
3737 setWakeupButton (BUTTON_A_PIN);
Original file line number Diff line number Diff line change 4545// #define SPI_FREQUENCY 5000000
4646// #define SPI_FREQUENCY 10000000
4747// #define SPI_FREQUENCY 20000000
48- // #define SPI_FREQUENCY 27000000 // Actually sets it to 26.67MHz = 80/3
49- #define SPI_FREQUENCY 40000000 // Maximum to use SPIFFS
48+ #define SPI_FREQUENCY 27000000 // Actually sets it to 26.67MHz = 80/3
49+ // #define SPI_FREQUENCY 40000000 // Maximum to use SPIFFS
5050// #define SPI_FREQUENCY 80000000
5151
5252// Comment out the following #define if "SPI Transactions" do not need to be
You can’t perform that action at this time.
0 commit comments