   
 }
 
+void initState(){
+  //Setup switch detection
+  int keyState;
+  keyState = digitalRead(launchKey);
+  int launchState;
+  launchState = digitalRead(launchButton);
+  int rcsState;
+  rcsState = digitalRead(rcsState);
+}
+
+
 //Keyboard Implimentation, see:http://mitchtech.net/arduino-usb-hid-keyboard/
   void sendKey(int keyNum){
     buf[2] = keyNum;

  pinMode(launchButton, INPUT);
  //Setup state
  doneLaunch = false;
}



void loop()
{
  //Setup switch detection
  int keyState;
  keyState = digitalRead(launchKey);
  int launchState;
  launchState = digitalRead(launchButton);
  //Turn on the LED if the key is turned
  if(keyState == LOW)
  {

const int launchKey = 13;
const int led = 8;
const int launchButton = 7;
const int rcsSwitch = 11;
boolean doneLaunch;
int rcsBit;

void setup()
{
