Closed morestart closed 2 years ago
Wrong configuration you must use
Ticker timer2(read_rt_100_tem, 200); // call every 200ms
Wrong configuration you must use
Ticker timer2(read_rt_100_tem, 200); // call every 200ms
sure, i change this place, but i find it jsut print when i reset my board...
i see the doc write this: Ticker timer3(printCountdown, 1000, 5); // 5 times, every second
well, i use this, it works very good
Ticker timer1(send_hum_tem_data, 200); Ticker timer2(read_rt_100_tem, 200);
Sorry, I don't understand the problem "but i find it jsut print when i reset my board...." The doc is ok, You can count infinity or a limited number.
this is my code
I want to print pt100 data 5 times every seconds, but this timer just printed 5 times after it will not print anything