From c316a7c532c8819abb1dbb71d4e1ef8174398f20 Mon Sep 17 00:00:00 2001 From: Catamine <kirsa@riseup.net> Date: Wed, 3 Aug 2022 12:17:09 -0400 Subject: [PATCH] fixed heartbeat indicator --- examples/lora_rangefinder/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/lora_rangefinder/main.py b/examples/lora_rangefinder/main.py index e29192d..3c54887 100644 --- a/examples/lora_rangefinder/main.py +++ b/examples/lora_rangefinder/main.py @@ -54,10 +54,10 @@ def main(): time.sleep_ms(70) curTime = time.time() if (curTime % 2) == 0: - display.fill_rect(0, 121, 6, 127, 1) + display.fill_rect(121, 0, 127, 6, 1) display.show() else: - display.fill_rect(0, 121, 6, 127, 1) + display.fill_rect(121, 0, 127, 6, 0) display.show() if curTime - lastTX >= 10 and curTime - fix['time'] <= 30: seq += 1 -- GitLab