Hi,
I just finished a custom build of a fight stick and found out that my player LEDs are inverted. It seems like you expect the LEDs to use common anode (i. e. connect one lead to +3.3V, the other one to the GPIO pin), while I used a common cathode - the same as with the buttons.
I think I read all the relevant documentation and found no mention about how to connect buttons and LEDs. Search also found nothing.
I suggest putting two schematics at https://gp2040-ce.info/controller-build/wiring that would show the circuit for few buttons and few PWM LEDs, and to link to it from https://gp2040-ce.info/web-configurator/menu-pages/gpio-pin-mapping and https://gp2040-ce.info/web-configurator/menu-pages/led-configuration - that should prevent future misunderstandings IMHO.
BTW, I tried to fix it in software, but was unable to compile latest stable version (0.7.11) - I just couldn't find a compatible version of pico_sdk, either I got errors about redefined functions or missing uint8_t types :-(
Hi,
I just finished a custom build of a fight stick and found out that my player LEDs are inverted. It seems like you expect the LEDs to use common anode (i. e. connect one lead to +3.3V, the other one to the GPIO pin), while I used a common cathode - the same as with the buttons.
I think I read all the relevant documentation and found no mention about how to connect buttons and LEDs. Search also found nothing.
I suggest putting two schematics at https://gp2040-ce.info/controller-build/wiring that would show the circuit for few buttons and few PWM LEDs, and to link to it from https://gp2040-ce.info/web-configurator/menu-pages/gpio-pin-mapping and https://gp2040-ce.info/web-configurator/menu-pages/led-configuration - that should prevent future misunderstandings IMHO.
BTW, I tried to fix it in software, but was unable to compile latest stable version (0.7.11) - I just couldn't find a compatible version of pico_sdk, either I got errors about redefined functions or missing uint8_t types :-(