Issue with I2C oled display #1728
-
Hello, I am using this type of code in setup: no pb, but I decided to add an oled display using this code: Adafruit_SSD1306 oled(nombreDePixelsEnLargeur, nombreDePixelsEnHauteur, &Wire, brocheResetOLED); and in setup: Separately no pb, but if I have these two pieces of code, the oled does nothing if I call kit.begin(config);... Any idea? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 37 replies
-
The AudioKit already uses Wire to communicate with the codec using the pins that are relevant for the Codec! |
Beta Was this translation helpful? Give feedback.
-
hummm in my setup: my method: and in the loop, each time if display something on the screen, the sound is bugged... |
Beta Was this translation helpful? Give feedback.
-
You can remove the copier.setCheckAvailableForWrite(false); from your sketch since this is false by default It might be a good idea to suspend and resume the task. void processFile(const char *name){
task.suspend();
audioFile.close();
audioFile = SD.open(name);
decoder.begin();
copier.begin(decoder, audioFile);
task.resume();
} |
Beta Was this translation helpful? Give feedback.
-
18 & 23 with this code for 4 & 5: |
Beta Was this translation helpful? Give feedback.
-
Hey,have you ever tried audiokit with a big TFT and touch? |
Beta Was this translation helpful? Give feedback.
The AudioKit already uses Wire to communicate with the codec using the pins that are relevant for the Codec!
Use Wire1 for the display or force the AudioKit to use Wire1 instead...