From 840ad1cd3dc5ce1d23c0d070ef14343cd4ddaf40 Mon Sep 17 00:00:00 2001 From: maniacbug Date: Wed, 14 Dec 2011 18:35:08 -0800 Subject: [PATCH] Clean up pin assignments --- examples/pingpair_maple/pingpair_maple.pde | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/pingpair_maple/pingpair_maple.pde b/examples/pingpair_maple/pingpair_maple.pde index a992570..24f5621 100644 --- a/examples/pingpair_maple/pingpair_maple.pde +++ b/examples/pingpair_maple/pingpair_maple.pde @@ -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