From afad0a1d883980d6ef4709d63f58d407af9f4484 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Thu, 29 Aug 2019 11:48:14 -0700 Subject: [PATCH] commented out main loop trigger reset #bugfix After switching to the new scheduler, the main loop was resetting the trigger too quickly. Migrating reset to the pulse trigger function instead --- .../Pyr0_Piezo_Sensor_v2.x.x/Pyr0_Piezo_Sensor_v2.x.x.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/Pyr0_Piezo_Sensor_v2.x.x.ino b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/Pyr0_Piezo_Sensor_v2.x.x.ino index 7ca9956..b70c59c 100644 --- a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/Pyr0_Piezo_Sensor_v2.x.x.ino +++ b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/Pyr0_Piezo_Sensor_v2.x.x.ino @@ -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; } }