 bool initialized = false;
 
 void setup() {
+  pinMode(sendButtonPin, INPUT);
+  pinMode(flashButtonPin, INPUT);
+  pinMode(ledPin, OUTPUT);
+  
   // Connect to pc over usb.
   Serial.begin(9600);
   

    }

    int flashes = atoi(dataReadLn().c_str());
    FlashLed(flashes);    
    
    debugPrintLn("Done flashing LED.");
  }
}

bool SendButtonDown() {
  //TODO Add detection for button on pin.
  return false;
}

bool FlashButtonDown() {
  //TODO Add detection for button on pin.
  return false;
}

void FlashLed(int times) {
  //TODO Add logic to flash led at high frequency <500ms between 
  // flashes so we don't take too long.
}

void debugPrintLn(const String& message) {

    return;
  }

  if (digitalRead(sendButtonPin) && digitalRead(flashButtonPin)) {
    dataPrintLn("REMOVE /led_flashes");
    String response = dataReadLn();
    if (response != "+OK") {
      debugPrintLn("Error during REMOVE: " + response);          
    }    
    
  } else if (digitalRead(sendButtonPin)) {
    debugPrintLn("Sending random number.");
    int flashes = random(10);

