Using a MAX7219 LED Dot Matrix with ESP32 AudioKit #14
-
Hi, I am trying to use a MAX7219 LED Dot Matrix with ESP32 AudioKit; it works until I create an AudioKit object. Comment/uncomment the line creating the AudioKit object and the Dot Matrix starts/stops working. The code: #include "Arduino.h" #define HARDWARE_TYPE MD_MAX72XX:: FC16_HW // SPI hardware interface ////////////////comment this and all works great////////////////////// void loop() |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
SPI is used to access the SD drive. You could try to deactivate it with config. sd_active = false; Alternatively you might want to use another SPI port |
Beta Was this translation helpful? Give feedback.
-
My mistake, I just noticed that the setupSPI() is also called in the constructor of AudioKit. So the only way would be to change the AUDIOKIT_SETUP_SD to 0 in the AudioKitSettings.h. For your second question see https://www.esp32.com/viewtopic.php?t=20755 |
Beta Was this translation helpful? Give feedback.
My mistake, I just noticed that the setupSPI() is also called in the constructor of AudioKit. So the only way would be to change the AUDIOKIT_SETUP_SD to 0 in the AudioKitSettings.h.
For your second question see https://www.esp32.com/viewtopic.php?t=20755