File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 "maintainer" : true
1414 }
1515 ],
16- "version" : " 1.0.3 " ,
16+ "version" : " 1.0.4 " ,
1717 "license" : " Apache-2.0" ,
1818 "frameworks" : " arduino, mbed" ,
1919 "platforms" : " *"
Original file line number Diff line number Diff line change 11name =TaskManagerIO
2- version =1.0.3
2+ version =1.0.4
33maintainer =https://www.thecoderscorner.com
44author =davetcc
55category =Other
Original file line number Diff line number Diff line change @@ -314,4 +314,19 @@ class TaskManager {
314314/* * the global task manager, this would normally be associated with the main runLoop. */
315315extern TaskManager taskManager;
316316
317+ /* *
318+ * Converts a duration in milliseconds to microseconds.
319+ */
320+ #define millisToMicros (x ) ((x)*1000UL )
321+
322+ /* *
323+ * Converts a duration in seconds to microseconds.
324+ */
325+ #define secondsToMicros (x ) ((x)*1000000UL )
326+
327+ /* *
328+ * Converts a duration in seconds to milliseconds.
329+ */
330+ #define secondsToMillis (x ) ((x)*1000UL )
331+
317332#endif // TASKMANAGER_IO_H
You can’t perform that action at this time.
0 commit comments