Skip to content

Instantly share code, notes, and snippets.

@thomascate
Created October 17, 2018 02:19
Show Gist options
  • Save thomascate/58b5a8482cf893fce65338f6b4c4fb50 to your computer and use it in GitHub Desktop.
Save thomascate/58b5a8482cf893fce65338f6b4c4fb50 to your computer and use it in GitHub Desktop.
root@raspberrypi:~# ./read_18.py
waiting for announcement
1539742532.7980354
Signal detected
announcement found
annoncement done, waiting for clock signal
start clock sync
sync found, average pulse length = 1.001155
start message found, deconding
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0]
h
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1]
e
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0]
l
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0]
l
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1]
o
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 1]
w
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1]
o
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0]
r
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0]
l
[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0]
d
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment