M5Utility 0.0.2 git rev:5c1a751
Loading...
Searching...
No Matches
compatibility_feature.hpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2024 M5Stack Technology CO LTD
3 *
4 * SPDX-License-Identifier: MIT
5 */
10#ifndef M5_UTILITY_COMPATIBILITY_FEATURE_HPP
11#define M5_UTILITY_COMPATIBILITY_FEATURE_HPP
12
13namespace m5 {
14namespace utility {
15
18
22unsigned long millis();
27unsigned long micros();
33void delay(const unsigned long ms);
39void delayMicroseconds(const unsigned int us);
41
42} // namespace utility
43} // namespace m5
44#endif
unsigned long millis()
Returns the number of milliseconds passed since the Arduino board began running the current program.
Definition compatibility_feature.cpp:24
unsigned long micros()
Returns the number of microseconds since the Arduino board began running the current program.
Definition compatibility_feature.cpp:28
void delay(const unsigned long ms)
Pauses the program for the amount of time (in milliseconds) specified as parameter.
Definition compatibility_feature.cpp:32
void delayMicroseconds(const unsigned int us)
Pauses the program for the amount of time (in microseconds) specified by the parameter.
Definition compatibility_feature.cpp:42
Top level namespace of M5.
Definition bit_segment.hpp:17
For utilities.