This is a simple project with the STM32F407G (DISC1) microcontroller, which I had done for the purposes of learning embedded development.
There is usage of the HAL APIs. However, similar functionality was implemented in my other repository, which did not use the HAL APIs.
When the User button on the microcontroller is pressed, all four of the LED lights will turn on. As soon as the button is released, the LED lights will be turned off.
- STM32CubeMX - To generate the initialization code.
- TrueStudio - IDE for development.