[Feature] StopWatch class missing a way to tell if it's paused #1490
Labels
enhancement
New feature or request
software: pybricks-micropython
Issues with Pybricks MicroPython firmware (or EV3 runtime)
The
StopWatch
class offers a way to pause it, but does not offer a way to decide if an instance is paused. This seems to be a hole in the API, and could be useful to keep track of some state changes without introducing an extra variable for that (I am assuming that the paused state is actually stored somewhere inside). I'd propose adding a method calledpaused
, returning abool
.The text was updated successfully, but these errors were encountered: