2 Replies Latest reply on Mar 9, 2020 12:15 AM by RaAl_264636

    How can I keep track of milliseconds passed since processor has been running? (akin to millis() for Arduino)

      I am using the PSoC Creator 4.2 and am implementing a PID control block that requires the number of milliseconds passed since the processor has been on/program has been running.  Originally, I was using this PID library for Arduino Mega 2560 that required that information but I do not have the knowledge to write it up for PSoC. 


      How would I be able to do this (or mimic the "millis()" function in Arduino)?


      Thank you very much,