 // used when at the open limit
 #define STATE_ERROR 3   
 // if both switches are triggered -- motor cannot move
+#define STATE_FORCEOPEN 9
+// used to keep the cover open as often as possible
 // fault codes
 #define FAULT_NONE 0
 #define FAULT_MOTOR_SHORT 1

#define DPIN_LIMIT_OPENED 11   
// input from limit switch

// Rain sensorString outString = "";   // string for output
#define DPIN_RAIN 12           // input from rain sensor (digital)

// Global variables


// Speed in  full steps per second. For 200 steps/rot and 8mm/rot this is 10 mm/sec
#define STEP_ACCEL 1000
// Accel in full steps per second per second
#define TIMEOUT_MILLIS 60000
// Timeout (in milliseconds) for the stepper drive loop

#define DIRECTION_OPEN +1
#define DIRECTION_CLOSE -1
