Changed test to use new 250kbps mode
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 &
|
||||||
|
|||||||
Reference in New Issue
Block a user