Hi Everyone,
I just bought STM32F103C8T6(BluePill) and ST-Link.V2(Not original one). and want to blink on board LED... Forgive my ignorance but even after searching through lot of examples and articles I didn't find a satisfying solution. I used CubeMX to get start up code then wrote main then every header file declaration were done and dumped hex file,but nothing is changing led is off... and pin PC_13 on which it is connected is at 1.7V while other pins are at 0V.
In short I want to know how to access gpio pins to write and read data from them.
Please provide a solution. I have attached the project file below.(Keil MDK5)
Thanks in anticipation.
I just bought STM32F103C8T6(BluePill) and ST-Link.V2(Not original one). and want to blink on board LED... Forgive my ignorance but even after searching through lot of examples and articles I didn't find a satisfying solution. I used CubeMX to get start up code then wrote main then every header file declaration were done and dumped hex file,but nothing is changing led is off... and pin PC_13 on which it is connected is at 1.7V while other pins are at 0V.
In short I want to know how to access gpio pins to write and read data from them.
Please provide a solution. I have attached the project file below.(Keil MDK5)
Thanks in anticipation.
Attachments
-
887.1 KB Views: 1
Last edited: