     }
 }
 
+/**
+ * Main loop - waiting for a button press
+ * Indicates status through the LED:
+ *  - solid LED: network available and button ready
+ */
 void loop() 
 {
     // read the state of the button

    WiFly.setDebugChannel( NULL );
    return 0;
}


int buttonState = 0;
int requestMade = 0;

// initialise the WiFly card
WiFlySerial WiFly(ardRxPin, ardTxPin); 

/**
 * Startup sequence
 *  - get the mac address of the wifi card
 *  - join the wifi network
 */
void setup() 
{
  // initialise card
