sle118 / squeezelite-esp32

ESP32 Music streaming based on Squeezelite, with support for multi-room sync, AirPlay, Bluetooth, Hardware buttons, display and more
1.27k stars 115 forks source link

Add support for AW9523 GPIO expander #430

Closed StefanKrupop closed 2 months ago

StefanKrupop commented 4 months ago

An existing PCB I want to use squeezelite-esp32 with uses an AW9523 as it's GPIO expander. As the register layout differs from the other options, I added the requisite read/write/direction functions. Tested it with the PCB, outputs and button inputs seem to work fine.

sle118 commented 4 months ago

Thank you for your contribution! I'll see if I can dedicate a bit of my vacation to reviewing this and other pr.

philippe44 commented 2 months ago

Looks good to me