Skip to content

Commit

Permalink
Clean up pin assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
maniacbug committed Dec 15, 2011
1 parent a6bf911 commit 840ad1c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/pingpair_maple/pingpair_maple.pde
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 840ad1c

Please sign in to comment.