2024-04-02 01:20 PM
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
Solved! Go to Solution.
2024-04-04 12:27 AM
Hi Ali,
attached is a document explaining how to enable or disable a green LED using an external interrupt associated with the user button on the AEK-MCU-C1MLIT1
2024-04-04 12:27 AM
2024-04-04 03:14 AM
Thank you ATROI, for helping me out with such a detail documentation now I'm able to read the schematics as well as can write a code.