[SOLVED]Timer changes since 1.6

Post here all questions related to STM32 core if you can't find a relevant section!
BennehBoy
Posts: 135
Joined: Sat Jan 04, 2020 2:38 am
Answers: 1

Re: Timer changes since 1.6

Post by BennehBoy »

Did best answer get removed or is it not enabled for this particular board?
User avatar
fpiSTM
Posts: 1746
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Timer changes since 1.6

Post 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 ;)
fredbox
Posts: 125
Joined: Thu Dec 19, 2019 3:05 am
Answers: 2

Re: [SOLVED]Timer changes since 1.6

Post 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.
BennehBoy
Posts: 135
Joined: Sat Jan 04, 2020 2:38 am
Answers: 1

Re: [SOLVED]Timer changes since 1.6

Post 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.
BennehBoy
Posts: 135
Joined: Sat Jan 04, 2020 2:38 am
Answers: 1

Re: Timer changes since 1.6

Post 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 :)
Post Reply

Return to “General discussion”