Changed test to use new 250kbps mode

This commit is contained in:
maniacbug 2011-07-31 10:17:07 -07:00
parent cd3b0b3ccb
commit 77a798b1a9
2 changed files with 2 additions and 1 deletions

View File

@ -173,7 +173,7 @@ void setup(void)
if (configuration=='2') if (configuration=='2')
{ {
radio.setCRCLength(RF24_CRC_8); radio.setCRCLength(RF24_CRC_8);
radio.setDataRate(RF24_2MBPS); radio.setDataRate(RF24_250KBPS);
radio.setChannel(10); radio.setChannel(10);
} }
else else

View File

@ -1,6 +1,7 @@
#!/bin/sh #!/bin/sh
# Connect p6 to receiver, p4 to sender # Connect p6 to receiver, p4 to sender
# WARNING: Test config 2 only works with PLUS units.
jam p4 p6 || exit 1 jam p4 p6 || exit 1
./runtest.py /dev/tty.usbserial-A600eHIs 3 & ./runtest.py /dev/tty.usbserial-A600eHIs 3 &