Skip to content

Commit

Permalink
v0.4 - FIX TLM decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
theBASTI0N committed Jan 15, 2020
1 parent 813c8d3 commit a4b064a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacondecoder/decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def decode(data):

format = 1
d = str(data)
d = d[36:]
d = d.split("AAFE2000")[1]
battery_voltage = int(d[1:4], 16) / 1000
temp1= twos_complement(d[4:6], 8)
temp2 = int(d[6:8], 16) / 256
Expand Down

0 comments on commit a4b064a

Please sign in to comment.