You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I set timer using --Timer timer(t_s)=std::round(1e6 / f_s);-- it seen not working properly..
I added a time control line:
now = micros();
diff= now-last;
if (timer){ // returns true once every (1/f_s) sec, determines sampling frequency
last = now;
Serial.println(diff));
but result show me Timer class time constant smaller than expected..
(Actually <AH/Timing/MillisMicrosTimer.hpp> librarry is well structured but i cannot understand what is going wrong?)
The text was updated successfully, but these errors were encountered:
When I set timer using --Timer timer(t_s)=std::round(1e6 / f_s);-- it seen not working properly..
I added a time control line:
now = micros();
diff= now-last;
if (timer){ // returns true once every (1/f_s) sec, determines sampling frequency
last = now;
Serial.println(diff));
but result show me Timer class time constant smaller than expected..
(Actually <AH/Timing/MillisMicrosTimer.hpp> librarry is well structured but i cannot understand what is going wrong?)
The text was updated successfully, but these errors were encountered: