   return (initial_state == LOW)? false : true;
 }
 
+// Set pin with number PIN to the boolean mapping corresponding to
+// STATE
 inline void pin_set (int pin, bool state) {
   if (GM_DEBUG) {
     Serial.print ("Setting pin ");

    Serial.println (state);
  }
  digitalWrite (pin, state ? HIGH : LOW);
}

  bool ready;
  bool claw;
  bool coin;
} state, previous_state;

//
// Setup
