Skip to content

Commit

Permalink
reading 8 bit, not 12
Browse files Browse the repository at this point in the history
  • Loading branch information
joernesdohr committed Nov 22, 2015
1 parent b9d7bdd commit 4601267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RPi/pyRF24Network/examples/helloworld_rx.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
while 1:
network.update()
while network.available():
header, payload = network.read(12)
header, payload = network.read(8)
ms, number = unpack('<LL', payload)
print 'Received payload # ', number, ' at ', ms, ' from ', oct(header.from_node)
time.sleep(1)
Expand Down

0 comments on commit 4601267

Please sign in to comment.