Clean up pin assignments

This commit is contained in:
maniacbug 2011-12-14 18:35:08 -08:00
parent a6bf911f5a
commit 840ad1cd3d
1 changed files with 4 additions and 2 deletions

View File

@ -42,13 +42,15 @@ HardwareSPI SPI(2);
// Hardware configuration
//
// Set up nRF24L01 radio on SPI bus plus pins 8 & 9
// Set up nRF24L01 radio on SPI bus plus pins 7 & 6
// (This works for the Getting Started board plugged into the
// Maple Native backwards.)
RF24 radio(7,6);
// sets the role of this unit in hardware. Connect to GND to be the 'pong' receiver
// Leave open to be the 'ping' transmitter
const int role_pin = 7;
const int role_pin = 10;
//
// Topology