// Relay output macros // Matt Krass // Forward #define RELAY1_FWD relay1_rev = 0; relay1_fwd = 1 #define RELAY2_FWD relay2_rev = 0; relay2_fwd = 1 #define RELAY3_FWD relay3_rev = 0; relay3_fwd = 1 #define RELAY4_FWD relay4_rev = 0; relay4_fwd = 1 #define RELAY5_FWD relay5_rev = 0; relay5_fwd = 1 #define RELAY6_FWD relay6_rev = 0; relay6_fwd = 1 #define RELAY7_FWD relay7_rev = 0; relay7_fwd = 1 #define RELAY8_FWD relay8_rev = 0; relay8_fwd = 1 // Reverse #define RELAY1_REV relay1_rev = 1; relay1_fwd = 0 #define RELAY2_REV relay2_rev = 1; relay2_fwd = 0 #define RELAY3_REV relay3_rev = 1; relay3_fwd = 0 #define RELAY4_REV relay4_rev = 1; relay4_fwd = 0 #define RELAY5_REV relay5_rev = 1; relay5_fwd = 0 #define RELAY6_REV relay6_rev = 1; relay6_fwd = 0 #define RELAY7_REV relay7_rev = 1; relay7_fwd = 0 #define RELAY8_REV relay8_rev = 1; relay8_fwd = 0 // Neutral/Off #define RELAY1_OFF relay1_rev = relay1_fwd = 0 #define RELAY2_OFF relay2_rev = relay2_fwd = 0 #define RELAY3_OFF relay3_rev = relay3_fwd = 0 #define RELAY4_OFF relay4_rev = relay4_fwd = 0 #define RELAY5_OFF relay5_rev = relay5_fwd = 0 #define RELAY6_OFF relay6_rev = relay6_fwd = 0 #define RELAY7_OFF relay7_rev = relay7_fwd = 0 #define RELAY8_OFF relay8_rev = relay8_fwd = 0