What is the resolution of EHS6 timer? | Thales IoT Developer Community
August 31, 2015 - 4:39am, 3072 views
I want to define a 100ms timer:
Timer timer = new Timer();
UserTimerTask timerTask = new UserTimerTask();
timer.schedule(timerTask, 0, 100);
and in userTimerTask, I will toggle a Led:
if (UpTime % 2 == 0) TurnRedLedOn();
but from oscilloscope, the led on/off time is about 200ms.
How can I get a precise timer?