Using an OLED Display (SDA = GPIO21, SCL = GPIO22) in combination with the AudioTools Library #2053
-
Hi, first of all: i am still a beginner in using ESP's / Arduinos so please don't tear me apart right away :-) But can it be the case that the SDA /SCL ports (GPIO21 and 22) are reserved by the audio tools library?
Thank you for your help. Best wishes Daniel |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Are you sure that you are using an AudioKit board ? If not you should use an I2SStream as described in the Wiki documentation. If you check the documentation of that board you can find that GPIO 21 is used by the PA and 22 by the LED! |
Beta Was this translation helpful? Give feedback.
-
You can find the pins that are used by the board in the audio-driver library Wire is used to set up the Codec chip, so you will need to use Wire1 with some pins that do not conflict! |
Beta Was this translation helpful? Give feedback.
Are you sure that you are using an AudioKit board ? If not you should use an I2SStream as described in the Wiki documentation.
If you check the documentation of that board you can find that GPIO 21 is used by the PA and 22 by the LED!