diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-08-15 15:55:56 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-08-15 15:55:56 (GMT) |
| commit | d535b8b16ccfc3c0e95584b5819e89e7e26ef282 (patch) | |
| tree | c02c0161d572a9696bbcd8ca6dcbf8576a257cc0 /wasp/boards | |
| parent | 37e805a44afd2ce6719fd300d69bc310229c4543 (diff) | |
k9: watch.py.in: Fix backlight
Currently the backlight is permanently on at its lowest level. The
backlight is so dim that this is almost impossible to detect. I only
found it when lying in a field in total darkness and observing that the
screen wasn't quite as black as I expected.
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp/boards')
| -rw-r--r-- | wasp/boards/k9/watch.py.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wasp/boards/k9/watch.py.in b/wasp/boards/k9/watch.py.in index 5126a87..68f69b0 100644 --- a/wasp/boards/k9/watch.py.in +++ b/wasp/boards/k9/watch.py.in @@ -43,6 +43,9 @@ class Backlight(object): self.set(level) def set(self, level): + """K9 backlight is very weak so we avoid lo in its own because it is + pointless. + """ hi = 1 mid = 1 lo = 0 @@ -54,6 +57,8 @@ class Backlight(object): hi = 0 elif level == 1: mid = 0 + else: + lo = 1 self.hi(hi) self.mid(mid) |
