https://aticleworld.com/stm32-gpio-button-and-led-control/
STM32 GPIO: A Comprehensive Guide to Button and LED control