Display Vbat instead of Altitude
This commit is contained in:
parent
b7187d6d54
commit
9174e70030
@ -90,7 +90,7 @@ def on_message(client, userdata, msg):
|
||||
coord_type = { 'AT' : (1, data1_line),
|
||||
'RH' : (inkyphat.WIDTH / 2 + 12, data1_line),
|
||||
'AP' : (1, data2_line),
|
||||
'ALTI' : (inkyphat.WIDTH / 2 + 12, data2_line),
|
||||
'VBAT' : (inkyphat.WIDTH / 2 + 12, data2_line),
|
||||
}
|
||||
print(val)
|
||||
if val['type'] in coord_type:
|
||||
|
Loading…
Reference in New Issue
Block a user