Skip to content
This repository was archived by the owner on Jan 12, 2023. It is now read-only.

Milestones

List view

  • By default the UptimeInfo still works with wiring / Arduino framework (uses millis() function). New: when injecting a specific UptimeInfoAdapter implementation into UptimeInfo this could be used in any environment. Example - STM32Cube - main.cpp: #include "stm32l4xx_hal.h" #include "UptimeInfo.h" class STM32UptimeInfoAdapter : public UptimeInfoAdapter { public: inline unsigned long tMillis() { unsigned long ms = HAL_GetTick(); return ms; } }; int main(void) { // .. // setup UptimeInfo::Instance()->setAdapter(new STM32UptimeInfoAdapter()); while(1) { scheduleTimers(); } }

    Overdue by 7 year(s)
    Due by June 28, 2019
  • No due date
    0/1 issues closed