TcMenu / TaskManagerIO

A task, event, scheduling, and interrupt marshalling library for Arduino and mbed boards.
Apache License 2.0
122 stars 12 forks source link

Provide very basic macros for conversions to microseconds and milliseconds. #13

Closed davetcc closed 3 years ago

davetcc commented 3 years ago

Provide a few minor helper macros for conversions around seconds, milliseconds and microseconds. The three most needed are:

These are not supposed to replace the chronology functions in any way, but provide some very simple conversion support that work on all boards.

davetcc commented 3 years ago

Tested on mbed, AVR, SAMD, ESP8266 and ESP32.