fixed ignite
This commit is contained in:
@@ -44,7 +44,7 @@ unsigned long lastMillis = 0;
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
while (!Serial);
|
||||
//while (!Serial);
|
||||
|
||||
if (!ECCX08.begin()) {
|
||||
Serial.println("No ECCX08 present!");
|
||||
@@ -186,7 +186,7 @@ void ignite(){
|
||||
if(!burner_status){
|
||||
myservo.write(10); //full open to ignite space
|
||||
delay(2000);//wait for ignition
|
||||
myservo.write(20);//bring back from ignite space to HIGH
|
||||
myservo.write(68);//bring back from ignite space to HIGH
|
||||
burner_status = 1;
|
||||
Serial.println("BURNER IS ON BE CAREFUL!!!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user