I have a simple device running an interrupt function with a variable counting the total integers. Each timestamp or dot produces an increasing integer value. I am trying to create a simple synthetic variable to count the interrupts since the previous timestamp. Im having trouble understanding the syntax of retrieving the previous count value.
i.e: count since last timestamp = latest interrupt count - previous interrupt count