Open michapr opened 7 months ago
+1 since this actually showed up in two separate issues in RadioLib, first here and then second here.
Saw a note in the code about micros having ~1.7% error. http://community.heltec.cn/t/cubecell-micros-function/985
We are expecting different problems with the CubeCell using the micros() function.
To reproduce:
now
should never be smaller thanlast
, yet we get the following output about every other x seconds :Interestingly, the last value that is printed, always ends in 999 or sometimes 998 or 997. However, removing the line Serial.println(now); makes it such that the problem doesn't happen... why?????
With
millis()
it runs fine - so something is wrong. Can you check it?