Commit cb60afe1 authored by TMRh20's avatar TMRh20

Adj delay to accomodate 250kbps rates better

Added delay results in better response times. The RPi is just too quick
here.
parent 589b2c76
......@@ -527,11 +527,12 @@ void RF24::startListening(void)
void RF24::stopListening(void)
{
bcm2835_gpio_write(ce_pin, LOW);
delayMicroseconds(470);
flush_tx();
//flush_rx();
delayMicroseconds(150);
write_register(CONFIG, ( read_register(CONFIG) ) & ~_BV(PRIM_RX) );
delayMicroseconds(150);
delayMicroseconds(130);
}
/****************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment