diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2021-01-13 21:51:17 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2021-01-13 21:51:17 (GMT) |
| commit | 39d87830558540fefad1d4dd24a14f273bd4d5a7 (patch) | |
| tree | 3a313419861c91ce19b47f9c6e865b55af160077 /wasp/apps/heart.py | |
| parent | f7ef1654339b05989f0cdfc9ff5ab78ca03300b6 (diff) | |
simulator: test_qa: Add some basic docstring tests
This one picked up a lot of inconsistancy so the changes here are pretty
big.
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp/apps/heart.py')
| -rw-r--r-- | wasp/apps/heart.py | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/wasp/apps/heart.py b/wasp/apps/heart.py index 45b3a69..541e57d 100644 --- a/wasp/apps/heart.py +++ b/wasp/apps/heart.py @@ -1,18 +1,21 @@ # SPDX-License-Identifier: LGPL-3.0-or-later # Copyright (C) 2020 Daniel Thompson +"""Heart rate monitor +~~~~~~~~~~~~~~~~~~~~~ + +A graphing heart rate monitor using a PPG sensor. + +.. figure:: res/HeartApp.png + :width: 179 +""" + import wasp import machine import ppg class HeartApp(): - """Heart Rate Sensing application. - - .. figure:: res/HeartApp.png - :width: 179 - - Screenshot of the heart rate application - """ + """Heart rate monitor application.""" NAME = 'Heart' def foreground(self): |
