HalyssonJr
- Joined Dec 28, 2019
- 1
Hello,
Is there any way I can replicate the millis() function using in audrino to PIC,without using RTC?
An algorithm of some sort would be helpful.
Thanks in advance,
AK
Hello,
For replicate the millis() function, you can create a routine for interrupt (1ms). Bellow i show you how a do it.
Ps: My compiler is microC PRO PIC
Attachments
-
758 bytes Views: 23