void switchToRelay(uint8_t r) { cli(); current_status=STATUS_RELAY; sub_current_status = r; iterations = 0; RELAY_OFF(RELAY1); RELAY_OFF(RELAY2); RELAY_OFF(RELAY3); RELAY_OFF(RELAY4); }
void switchToReset() { current_status = STATUS_RESET; sub_current_status = 0; iterations = 0; settings_item1 = 0; settings_item2 = 0; RELAY_OFF(RELAY1); RELAY_OFF(RELAY2); RELAY_OFF(RELAY3); RELAY_OFF(RELAY4); }
void RELAY_Init(void) { RELAY_Config(); RELAY_OFF(); }
void relay_turn_off(void) { RELAY_OFF(); }