pschatzmann / arduino-audiokit

Arduino ADF/Audiokit HAL (support for ESP32-A1S, AI-Thinker, LyraT for ES7148, ES7210, ES7243, ES8311, ES8347, ES8388, TAS5805M, AC101 audio chips)
GNU General Public License v3.0
157 stars 42 forks source link

SPI #29

Closed VorkHeftruck closed 2 years ago

VorkHeftruck commented 2 years ago

First of all; thanks for this lib and for the audiotools lib. They are very impressive and nice to work with! I'm trying to get SPI/mcp3008 to work on the right top header pins (gpio 22, 21, 19 and 5). I've desoldered resistors near the buttons because of a hardware bug on the buttons preventing these gpio's from being used (https://github.com/Ai-Thinker-Open/ESP32-A1S-AudioKit/issues/1#issuecomment-873420781). SPI/mcp3008 works fine by itself on this board now. I'm just not getting it to play nice with arduino-audiokit. Could you give me a pointer as to were to look and possibly add modify code?

VorkHeftruck commented 2 years ago

Closing this myself. There's good information about about gpio usage in the Wiki. I ended up not using SPI but opted for I2C which didn't pose any problems.