"Millis" timer (like in Arduino)
Posted: Tue Dec 04, 2018 12:02 am
I'm thinking about building a project where I need to measure time between several occurrences.
In the Arduino community there is a lot written about the "Millis-function".
After a quick look into this command it looks like it is a 32bit timer that is increased every millisecond.
This would be perfect for what I want to do.
After a startsignal I want to check two I/O's and find out which of the two has changed first and.. I want to check for these both I/O's how long after the startsignal they changed.
The elapsed time of the two I/O's should be measured but this hasn't has to be 100% accurate. (the time between the start and the end is I guess something about 30 seconds).
If this Millis timer could be used in Flowcode this would be great for this project.
Is there a way I can use it in Flowcode?
The last post about this function was in a forum post from 2016.
In the Arduino community there is a lot written about the "Millis-function".
After a quick look into this command it looks like it is a 32bit timer that is increased every millisecond.
This would be perfect for what I want to do.
After a startsignal I want to check two I/O's and find out which of the two has changed first and.. I want to check for these both I/O's how long after the startsignal they changed.
The elapsed time of the two I/O's should be measured but this hasn't has to be 100% accurate. (the time between the start and the end is I guess something about 30 seconds).
If this Millis timer could be used in Flowcode this would be great for this project.
Is there a way I can use it in Flowcode?
The last post about this function was in a forum post from 2016.