diff --git a/RF24.cpp b/RF24.cpp index 2d289c0..3294cc9 100644 --- a/RF24.cpp +++ b/RF24.cpp @@ -480,7 +480,7 @@ void RF24::startWrite( const void* buf, uint8_t len ) { // Transmitter power-up write_register(CONFIG, ( read_register(CONFIG) | _BV(PWR_UP) ) & ~_BV(PRIM_RX) ); - delay(2); + delayMicroseconds(150); // Send the payload write_payload( buf, len ); @@ -488,7 +488,6 @@ void RF24::startWrite( const void* buf, uint8_t len ) // Allons! ce(HIGH); delayMicroseconds(15); - delay(2); ce(LOW); } diff --git a/examples/led_remote/led_remote.pde b/examples/led_remote/led_remote.pde index 02f89f5..5219a37 100644 --- a/examples/led_remote/led_remote.pde +++ b/examples/led_remote/led_remote.pde @@ -34,7 +34,7 @@ // Hardware configuration // -// Set up nRF24L01 radio on SPI bus plus pins 8 & 9 +// Set up nRF24L01 radio on SPI bus plus pins 9 & 10 RF24 radio(9,10); diff --git a/examples/pingpair/pingpair.pde b/examples/pingpair/pingpair.pde index 5f64005..b9d74ac 100644 --- a/examples/pingpair/pingpair.pde +++ b/examples/pingpair/pingpair.pde @@ -24,7 +24,7 @@ // Hardware configuration // -// Set up nRF24L01 radio on SPI bus plus pins 8 & 9 +// Set up nRF24L01 radio on SPI bus plus pins 9 & 10 RF24 radio(9,10); diff --git a/examples/pingpair_dyn/pingpair_dyn.pde b/examples/pingpair_dyn/pingpair_dyn.pde index cea56ee..eb7c594 100644 --- a/examples/pingpair_dyn/pingpair_dyn.pde +++ b/examples/pingpair_dyn/pingpair_dyn.pde @@ -21,7 +21,7 @@ // Hardware configuration // -// Set up nRF24L01 radio on SPI bus plus pins 8 & 9 +// Set up nRF24L01 radio on SPI bus plus pins 9 & 10 RF24 radio(9,10); diff --git a/examples/pingpair_irq/pingpair_irq.pde b/examples/pingpair_irq/pingpair_irq.pde index 2c4f583..dbfdb99 100644 --- a/examples/pingpair_irq/pingpair_irq.pde +++ b/examples/pingpair_irq/pingpair_irq.pde @@ -22,7 +22,7 @@ // Hardware configuration // -// Set up nRF24L01 radio on SPI bus plus pins 8 & 9 +// Set up nRF24L01 radio on SPI bus plus pins 9 & 10 RF24 radio(9,10); diff --git a/examples/pingpair_pl/pingpair_pl.pde b/examples/pingpair_pl/pingpair_pl.pde index 94a0da5..0f97e36 100644 --- a/examples/pingpair_pl/pingpair_pl.pde +++ b/examples/pingpair_pl/pingpair_pl.pde @@ -24,7 +24,7 @@ // Hardware configuration // -// Set up nRF24L01 radio on SPI bus plus pins 8 & 9 +// Set up nRF24L01 radio on SPI bus plus pins 9 & 10 RF24 radio(9,10); diff --git a/examples/pingpair_sleepy/pingpair_sleepy.pde b/examples/pingpair_sleepy/pingpair_sleepy.pde index 809679e..68d53b7 100644 --- a/examples/pingpair_sleepy/pingpair_sleepy.pde +++ b/examples/pingpair_sleepy/pingpair_sleepy.pde @@ -31,7 +31,7 @@ // Hardware configuration // -// Set up nRF24L01 radio on SPI bus plus pins 8 & 9 +// Set up nRF24L01 radio on SPI bus plus pins 9 & 10 RF24 radio(9,10); diff --git a/examples/scanner/scanner.pde b/examples/scanner/scanner.pde index 6e74286..4f8fc92 100644 --- a/examples/scanner/scanner.pde +++ b/examples/scanner/scanner.pde @@ -1,4 +1,3 @@ - /* Copyright (C) 2011 James Coliz, Jr. @@ -27,7 +26,7 @@ // Hardware configuration // -// Set up nRF24L01 radio on SPI bus plus pins 8 & 9 +// Set up nRF24L01 radio on SPI bus plus pins 9 & 10 RF24 radio(9,10); diff --git a/examples/starping/starping.pde b/examples/starping/starping.pde index 97b0953..9b76ee9 100644 --- a/examples/starping/starping.pde +++ b/examples/starping/starping.pde @@ -31,7 +31,7 @@ // Hardware configuration // -// Set up nRF24L01 radio on SPI bus plus pins 8 & 9 +// Set up nRF24L01 radio on SPI bus plus pins 9 & 10 RF24 radio(9,10);