Search found 137 matches

by BennehBoy
Tue Feb 04, 2020 7:40 am
Forum: IDE's
Topic: arduino pro ide alpha
Replies: 12
Views: 21146

Re: arduino pro ide alpha

Has this moved along at all? I've more or less moved over to vscode with the arduino extension now. I tried platformio but it's just imvho 'horrible' - they use their own hacked version of each core and to get things to be repeatable there's a fair bit of change required within projects (function de...
by BennehBoy
Sun Jan 26, 2020 2:31 pm
Forum: General discussion
Topic: dhrystone and whetstone benchmarks
Replies: 93
Views: 71404

Re: dhrystone and whetstone benchmarks

He means it's up to us to create non ST variants...
by BennehBoy
Sat Jan 25, 2020 8:01 pm
Forum: General discussion
Topic: Serial over USB - printf() on F407
Replies: 7
Views: 8464

Re: Serial over USB on F407

Have you tried just print? I think there's a recent pr which allows printf to work on the CDC serial, but unless you use the repo version then it's not available. Unless my memory is failing me (again!)

See here -> https://github.com/stm32duino/Arduino_C ... 2/pull/867
by BennehBoy
Thu Jan 23, 2020 4:42 pm
Forum: General discussion
Topic: [SOLVED]Timer changes since 1.6
Replies: 14
Views: 10600

Re: Timer changes since 1.6

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 :)
by BennehBoy
Thu Jan 23, 2020 4:42 pm
Forum: General discussion
Topic: [SOLVED]Timer changes since 1.6
Replies: 14
Views: 10600

Re: [SOLVED]Timer changes since 1.6

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.
by BennehBoy
Thu Jan 23, 2020 1:03 pm
Forum: General discussion
Topic: [SOLVED]Timer changes since 1.6
Replies: 14
Views: 10600

Re: Timer changes since 1.6

Did best answer get removed or is it not enabled for this particular board?
by BennehBoy
Thu Jan 23, 2020 12:55 pm
Forum: General discussion
Topic: [SOLVED]Timer changes since 1.6
Replies: 14
Views: 10600

Re: Timer changes since 1.6

Solved, thanks.
by BennehBoy
Thu Jan 23, 2020 12:53 pm
Forum: General discussion
Topic: [SOLVED]Timer changes since 1.6
Replies: 14
Views: 10600

Re: Timer changes since 1.6

Doh, my apologies then.
by BennehBoy
Thu Jan 23, 2020 12:22 pm
Forum: General discussion
Topic: [SOLVED]Timer changes since 1.6
Replies: 14
Views: 10600

Re: Timer changes since 1.6

Open to suggestions.... globals: // Timer STM32 #define TIMER_ENC TIM4 void checkenc(HardwareTimer*) { clickEncoder->service(); } setup: TIM_TypeDef *Instance = TIMER_ENC; HardwareTimer *stimer_t = new HardwareTimer(Instance); stimer_t->setOverflow(1000, HERTZ_FORMAT); // 1000 Hz stimer_t->attachInt...

Go to advanced search