Search found 1 match

by zokipoki
Sat Feb 01, 2020 11:41 pm
Forum: General discussion
Topic: Two instances of HardwareTimer problem
Replies: 2
Views: 4500

Two instances of HardwareTimer problem

I have a simple sketch with two HardwareTimer instances.

TIM_TypeDef *trInstance = TIM4;
HardwareTimer *trtimer = new HardwareTimer(trInstance);

TIM_TypeDef *stInstance = TIM1;
HardwareTimer *stimer_t = new HardwareTimer(stInstance);


void setup() {
Serial.begin (115200);
delay(2000);
Serial ...

Go to advanced search