memtemp plugin for waveshare.com/1.44inch-lcd-hat

This commit is contained in:
Evg33 2019-12-06 03:24:44 +03:00
parent a12e2aafa5
commit 04720ecc42

View File

@ -44,6 +44,9 @@ class MemTemp(plugins.Plugin):
if ui.is_waveshare_v2(): if ui.is_waveshare_v2():
h_pos = (180, 80) h_pos = (180, 80)
v_pos = (180, 61) v_pos = (180, 61)
elif ui.is_waveshare144lcd():
h_pos = (53, 77)
v_pos = (78, 67)
elif ui.is_inky(): elif ui.is_inky():
h_pos = (140, 68) h_pos = (140, 68)
v_pos = (165, 54) v_pos = (165, 54)