This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

millis() function

I'm trying to port code that was written on Arduino.
It's the millis() function.

I did not understand what the speed of the Timer.
I tried using 'sysTickCount', but I don't know if it returns the same value as the original Arduino function.
The code I'm trying to use from Arduino isn't working properly and I can't find the problem.
Analyzing I found this snippet that may be the problem.

The returned value is used like this:

Does anyone have an idea of ​​how to implement this function?

0