Showing 2 open source projects for "task timer"

View related business solutions
  • Try Google Cloud Risk-Free With $300 in Credit Icon
    Try Google Cloud Risk-Free With $300 in Credit

    No hidden charges. No surprise bills. Cancel anytime.

    Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
    Start Free
  • Earn up to 16% annual interest with Nexo. Icon
    Earn up to 16% annual interest with Nexo.

    Access competitive interest rates on your digital assets.

    Generate interest, borrow against your crypto, and trade a range of cryptocurrencies — all in one platform. Geographic restrictions, eligibility, and terms apply.
    Get started with Nexo.
  • 1
    Task Scheduler

    Task Scheduler

    Cooperative multitasking for Arduino, ESPx, STM32, nRF and more

    Cooperative multitasking for Arduino, ESPx, STM32 and other microcontrollers. A lightweight implementation of cooperative multitasking (task scheduling). An easier alternative to preemptive programming and frameworks like FreeRTOS. You mostly do not need to worry about pitfalls of concurrent processing (races, deadlocks, livelocks, resource sharing, etc.). The fact of cooperative processing takes care of such issues by design.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 2
    Usage: - run function blinkLED() every 2000 ms: timer.addEverytime(2000, blinkLED); - run function itWorks() two times with interval 2000 ms, wait 300 ms before first start: timer.addTask(2000, 2, 300, itWorks); Removing a task: removeEverytime(callback_function); removeTask(callback_function); Library can also be used in desktop C++ applications: #include <iostream> #include <string> #include <chrono> #include <thread> #include "RZtimer.h" int main() { RZTimer timer; timer.addEverytime(2000, [] (){ std::cout << "Hello! " << std::chrono::duration_cast<std::chrono::milliseconds >( std::chrono::system_clock::now().time_since_epoch() ).count() << "\n";}); while(1){ timer.run(); std::this_thread::sleep_for(std::chrono::milliseconds(100)); } }
    Downloads: 0 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • Next
MongoDB Logo MongoDB