#include #include "Util.h" unsigned long millis_since(unsigned long timestamp) { unsigned long now = millis(); if (now < timestamp) { return (4294967295 - timestamp) + millis(); } else { return millis() - timestamp; } }