From a3c0cbbf9813b6a05a98d292fa755a1e7f8ef29e Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Wed, 9 Jan 2019 04:44:31 -0800 Subject: [PATCH] Reduced default loop time, syntax errors were resolved --- ATmega48_Piezo_Sensor/ATmega48_Piezo_Sensor.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ATmega48_Piezo_Sensor/ATmega48_Piezo_Sensor.ino b/ATmega48_Piezo_Sensor/ATmega48_Piezo_Sensor.ino index 1421041..6731952 100644 --- a/ATmega48_Piezo_Sensor/ATmega48_Piezo_Sensor.ino +++ b/ATmega48_Piezo_Sensor/ATmega48_Piezo_Sensor.ino @@ -37,7 +37,7 @@ int ERR_LED = 3; // LED will blink if optimal voltage range cannot int InitCount = 10; // Number of times to blink the LED on start int V_FOLLOW_PIN = A0; // Sense pin to check first amp stage voltage output int VADJ_SENSE_PIN = A1; // Sense pin to check comparator stage voltage -int TRG_DUR = 1000; // duration of the Z-axis pulse sent, in ms +int TRG_DUR = 120; // duration of the Z-axis pulse sent, in ms int Vin = 5; // input reference voltage float senseHighThrs = 2.47; // Upper threshold voltage of amp circuit before adjustment float senseLowThrs = 1.90; // Lower threshold voltage of amp circuit before adjustment