 
 // 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 = 1;
 
 //
 // Topology


void setup(void)
{

  // set up the role pin
  pinMode(role_pin, INPUT);
  digitalWrite(role_pin,HIGH);
  delay(20); // Just to get a solid reading on the role pin

  // read the address pin, establish our role
  if ( digitalRead(role_pin) )
    role = role_ping_out;
  else
    role = role_pong_back;

/*
 Avoccado
 Open Source Haptic Input Device.
 WIP Adhoc networking. No meshing.
 Licensing information in the repository, see file LICENSE.
 */


#include <SPI.h>
#include "nRF24L01.h"
