From 77a798b1a91d213b0fb65734afc5a89cda24ce70 Mon Sep 17 00:00:00 2001 From: maniacbug Date: Sun, 31 Jul 2011 10:17:07 -0700 Subject: [PATCH] Changed test to use new 250kbps mode --- tests/pingpair_test/pingpair_test.pde | 2 +- tests/pingpair_test/runtests.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/pingpair_test/pingpair_test.pde b/tests/pingpair_test/pingpair_test.pde index 192811d..341242d 100644 --- a/tests/pingpair_test/pingpair_test.pde +++ b/tests/pingpair_test/pingpair_test.pde @@ -173,7 +173,7 @@ void setup(void) if (configuration=='2') { radio.setCRCLength(RF24_CRC_8); - radio.setDataRate(RF24_2MBPS); + radio.setDataRate(RF24_250KBPS); radio.setChannel(10); } else diff --git a/tests/pingpair_test/runtests.sh b/tests/pingpair_test/runtests.sh index 3c1e942..c68a0a2 100755 --- a/tests/pingpair_test/runtests.sh +++ b/tests/pingpair_test/runtests.sh @@ -1,6 +1,7 @@ #!/bin/sh # Connect p6 to receiver, p4 to sender +# WARNING: Test config 2 only works with PLUS units. jam p4 p6 || exit 1 ./runtest.py /dev/tty.usbserial-A600eHIs 3 &