1 2 3 4 5 6 7 8 9
#include "driver/uptime.h" #include <msp430.h> uint32_t Uptime::get() { return TA0R; } Uptime uptime;