Page 2 of 2

Re: Timer changes since 1.6

Posted: Thu Jan 23, 2020 1:03 pm
by BennehBoy
Did best answer get removed or is it not enabled for this particular board?

Re: Timer changes since 1.6

Posted: Thu Jan 23, 2020 2:49 pm
by fpiSTM
BennehBoy wrote: Thu Jan 23, 2020 1:03 pm Did best answer get removed or is it not enabled for this particular board?
Well,
Originally you create a topic here which should only contains SubForum:
Board index < Arduino for STM32 < Cores < STM32 Core
I move it here:
Board index < Arduino for STM32 < Cores < STM32 Core < General discussion

Then Best answer is enabled ;)

Re: [SOLVED]Timer changes since 1.6

Posted: Thu Jan 23, 2020 3:27 pm
by fredbox
Instead of configuring a timer, you can use HAL_SYSTICK_Callback() which fires every millisecond. See viewtopic.php?p=644#p644 for blinky example using systick.

Re: [SOLVED]Timer changes since 1.6

Posted: Thu Jan 23, 2020 4:42 pm
by BennehBoy
fredbox wrote: Thu Jan 23, 2020 3:27 pm Instead of configuring a timer, you can use HAL_SYSTICK_Callback() which fires every millisecond. See viewtopic.php?p=644#p644 for blinky example using systick.
Ah nice, this is good to know I can use a timer when I need a different timing.

Re: Timer changes since 1.6

Posted: Thu Jan 23, 2020 4:42 pm
by BennehBoy
fpiSTM wrote: Thu Jan 23, 2020 2:49 pm Well,
Originally you create a topic here which should only contains SubForum:
Board index < Arduino for STM32 < Cores < STM32 Core
I move it here:
Board index < Arduino for STM32 < Cores < STM32 Core < General discussion

Then Best answer is enabled ;)
Ooops, sorry :)