A PlatformIO library to stop time. Based on the Arduino framework.
Add the library to your platformio.ini
file:
lib_deps = johannesschramm/ArduinoStopwatch@^1.0.2
or
lib_deps = https://github.com/JohannesSchramm/arduino_stopwatch.git#v1.0.2
Use one of the available examples to get started!
The examples use a RaspberryPi Pico.
- Use the Stopwatch to stop a random amount of time.
- Use the Stopwatch to measure the time a button is pressed.
- Use the Stopwatch to stop a random amount of time, which overflows the datatype.
Classes, functions, types, constants, ... are documented in the header files.