I am interested in porting a Basic program to a Pic using C. One of the functions I depend on is a TIMER function, which returns the number of milliseconds since some base time. This base time is irrelevant; what I need is the elapsed time since this base time, such as when the program started.
Currently, I am using a FreeBASIC function TIMER which uses Windows' system calls to determine the time since midnight.
How can this be implemented in C on a Pic platform?
Currently, I am using a FreeBASIC function TIMER which uses Windows' system calls to determine the time since midnight.
How can this be implemented in C on a Pic platform?