Add Method to get some kind of ticks
#1
Closed
opened 6 years ago by Ruakij
·
2 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Implement how to get the current tick (of the cpu) or create own tick with a defined time interval.
One possibility would be to use a timer interrupt.
solution proposal:
Example calculation for nextTick:
clock() + F_CPU * 0.2
The nextTick should then be in 0.2s