From 0b49c1d46b7bce44612e16c16174972c0e05cf60 Mon Sep 17 00:00:00 2001 From: Kyle Date: Sat, 5 May 2018 13:11:11 -0700 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c23f11c..15df8b0 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ Timer Object for Python to easily track duration. Made for a wider project as a The class stores the UNIX time (in seconds) at time of being called with .start() method (not initialization) and will give back the current time since then when prompted (duration). Usage case scenario would be if you're doing a lot of timers for a RaspberryPI script (e.g. LED) and don't want to use sleep delays. +Includes a pause ability with the .stop() method. If you .start() a timer and then .stop() it (without destroying object or using the reset method), then .start() it again and .stop() it again, the time reported is the SUM of all the intervals. + If you want a singular timer object that can be started and stopped (paused) linearly, just use one timer object. If you need multiple timers that have differing start/stops (overlapping), create multiple objects, like: timer_A = Timer()