From 848925c9817b46ccf837ca1a91331b88f2b9d1ee Mon Sep 17 00:00:00 2001 From: Joe Cupano <9505289+joecupano@users.noreply.github.com> Date: Sat, 27 Mar 2021 04:23:15 -0400 Subject: [PATCH] Update OLED RX --- HASviolet_websox.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/HASviolet_websox.py b/HASviolet_websox.py index 9ff148b..f3e8b46 100755 --- a/HASviolet_websox.py +++ b/HASviolet_websox.py @@ -239,8 +239,11 @@ def find_password(user): def rx_oled_scroll(): HAShat.OLED.fill(0) HAShat.OLED.show() - HAShat.OLED.text("RSSI: " + HASit.receive_rssi, 0, 9, 1) - HAShat.OLED.text(HASit.receive_ascii, 0, 17, 1) + HAShat.OLED.text("RSSI: " + HASit.receive_rssi, 0, 0, 1) + HAShat.OLED.text(HASit.receive_ascii[0:20], 0, 8, 1) + HAShat.OLED.text(HASit.receive_ascii[20:40], 0, 16, 1) + HAShat.OLED.text(HASit.receive_ascii[40:60], 0, 24, 1) + HAShat.OLED.text(HASit.receive_ascii[60:73], 0, 32, 1) HAShat.OLED.show() def main():