2015-09-18 12:38 AM
Hi to all,
I tried my first program on STM32F0 discovery board and I encountered some problems. My intention is to make LED3 and LED4 blinking, so I create a main program with system initialization and a LED class to manage LEDs. I set up system clock in main program and GPIOC clock in LED class. Do I need something else? In annex you can find my files. Thank you Freya2015-09-18 02:09 AM
Hi Freya,
I'd highly recommend you to start from GPIO example under STM32Cube F0 package it describes how to configure and use GPIOs through the STM32F0xx HAL API:STM32Cube_FW_F0_V1.4.0\Projects\STM32F072BDiscovery\Examples\GPIO\GPIO_IOToggleThe Cube F0 package is available on ST web site under this .-Syrine –