cancel
Showing results for 
Search instead for 
Did you mean: 

how to build digital clock using stm32f103 with HAL Library?

rakha asyrofi
Associate
Posted on December 13, 2017 at 13:47

Hei, I'm newbie to build firmware using HAL Library.. can someone teach me how it build? I have project to build stm32f013c8t6 for digital clock using 2 push button. that pushbutton have different function. one pushbutton (1) for mode to change  every hour, minute and second blinky.. another pushbutton (2) for increment value of hour, minute and second. and also using timeout for that long press of pushbutton (2) for quick increment value of hour, minute and second.

So please help me to answer that question, thanks..

#timeout #hal-library #stm32f103c8t6 #uart #gpio
4 REPLIES 4
Posted on December 14, 2017 at 01:53

Start with blinking a LED. Then add buttons checking, influencing perhaps the blinking of the LED. Then add controlling the display you intend to use. Then add the RTC code.

JW

Posted on December 14, 2017 at 02:13

thanks for answer, perhaps could you explain with the code?

Posted on December 14, 2017 at 02:35

Perhaps you could give your teacher's email address - so we can send it straight to him/her ?

Posted on December 14, 2017 at 16:25

Look at these HAL projects for OpenSTM32 IDE, it may help you...

https://github.com/funlw65/my_nucleo_l152re