From b9d7bdd5120fec00a730e37d5a8d8fa327c12347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Esdohr?= Date: Mon, 23 Nov 2015 00:34:22 +0100 Subject: [PATCH] fix payload struct format --- RPi/pyRF24Network/examples/helloworld_rx.py | 2 +- RPi/pyRF24Network/examples/helloworld_tx.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RPi/pyRF24Network/examples/helloworld_rx.py b/RPi/pyRF24Network/examples/helloworld_rx.py index b0b9309e..c091841d 100755 --- a/RPi/pyRF24Network/examples/helloworld_rx.py +++ b/RPi/pyRF24Network/examples/helloworld_rx.py @@ -51,7 +51,7 @@ network.update() while network.available(): header, payload = network.read(12) - ms, number = unpack('= interval ): last_sent = now print 'Sending ..', - payload = pack('