 /**
 */
 void setSolenoidState(bool open) {
-  digitalWrite(MOTOR_1, !open); // LOW if open
-  digitalWrite(MOTOR_2,  open); // HIGH if open
-
-  goToSleep(WDTO_120MS);
+  digitalWrite(MOTOR_1,  open); // HIGH if open
+  digitalWrite(MOTOR_2, !open); // LOW  if open
+
+  goToSleep(WDTO_60MS);
 
   digitalWrite(MOTOR_1, LOW);
   digitalWrite(MOTOR_2, LOW);

    // Read it
    radio.read(&packet, RF24_PAYLOAD);

    // TODO: validate packet
    
    // Debug LED flashing
    setSolenoidState(true);  goToSleep(WDTO_60MS);
    setSolenoidState(false); goToSleep(WDTO_120MS);

    // If basestation says that the state changed, then change it.
    if (packet.state != current_state) {
      // Change the state only the first time

  // It's done. Now, rest.
  radio.powerDown();

  digitalWrite(A3, LOW);

  // Make the mcu sleep for about 1 seconds.
  goToSleep(WDTO_1S);
}

// -----------------------------------------
