Picking pins so they are contiguous:
rpi - nrf
20 - 1 gnd
17 - 2 vcc
18 - 3 ce [rpi GPIO 24]
24 - 4 csn
23 - 5 sck
19 - 6 mosi
21 - 7 miso
22 - 8 irq [rpi GPIO 25]
rpi - nrf
17 - 2 vcc
18 - 3 ce
19 - 6 mosi
20 - 1 gnd
21 - 7 miso
22 - 8 irq
23 - 5 sck
24 - 4 csn
Note this now includes IRQ. See previous revision for RF24 notes.
c.f. http://www.raspberrypi.org/phpBB3/viewtopic.php?f=45&t=17061&start=75#p303769 — the pin assignments above required
RF24 radio(BCM2835_SPI_CS0, RPI_V2_GPIO_P1_22, BCM2835_SPI_SPEED_8MHZ);
instead of the the more correct seemingRF24 radio(RPI_V2_GPIO_P1_22, BCM2835_SPI_CS0, BCM2835_SPI_SPEED_8MHZ);
Notes above have been updated. [in previous rev]