Skip to content

Commit

Permalink
commented out main loop trigger reset #bugfix
Browse files Browse the repository at this point in the history
After switching to the new scheduler, the main loop was resetting the
trigger too quickly. Migrating reset to the pulse trigger function
instead
  • Loading branch information
pyr0ball committed Aug 29, 2019
1 parent cc0b19d commit afad0a1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -138,7 +138,7 @@ void loop() {
serialReply();

// Sets trigger output state to false after completing loop
digitalWrite(TRG_OUT, HIGH);
//digitalWrite(TRG_OUT, HIGH);
sensorHReading = 0;
}
}

0 comments on commit afad0a1

Please sign in to comment.