Assistance Needed in Integrating Button with GPIO Code on AEK-MCU-C1MLIT1 Board
Hello ST Microcontroller Forum Community,
I hope this message finds you well. With the invaluable assistance of this community, I’ve been able to successfully write a simple GPIO code to blink the LED on my AEK-MCU-C1MLIT1 board. I’m grateful for the support, as it has significantly boosted my confidence in handling GPIO operations.
Currently, I have the LED_4, LED_3, and LED_5 toggling as desired. However, I’m now seeking guidance on integrating a user switch/button with the existing code. Specifically, I aim to initiate the LED toggling sequence when the button is pressed.
If anyone could provide assistance in integrating the button with the code and share the necessary PinEditor configuration for the button, it would be immensely appreciated. Additionally, any accompanying code snippets or instructions would be incredibly helpful.
Thank you in advance for your support and expertise.
Best regards,
Ali
