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