trelay1=m; relay1=HIGH; digitalWrite(batt, relay1); } if ((relay2 == HIGH) && (m-trelay2>= delay9)) { trelay2=m; relay2=LOW; digitalWrite(motor,relay2); } else if ((relay2 == LOW) && (m-trelay2>= delay1)) { trelay2=m; relay2=HIGH; digitalWrite(motor,relay2); } break; case 10:
trelay1=m; relay1=HIGH; digitalWrite(batt, relay1); } if ((relay2 == HIGH) && (m-trelay2>= delay9)) { trelay2=m; relay2=LOW; digitalWrite(motor,relay2); } else if ((relay2 == LOW) && (m-trelay2>= delay1)) { trelay2=m; relay2=HIGH; digitalWrite(motor,relay2); } break; case 10:
Final%20Report%20Capstone.docx