From e668988f3e19932119ac72bfea4e37bb68af4197 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Tue, 31 Dec 2019 15:47:52 -0800 Subject: [PATCH] added instructions for PZDET and LOGIC to main.cpp #docs --- .../Pyr0_Piezo_Sensor_v2.x.x/src/Pyr0_Piezo_Sensor_V2.x.x.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/Pyr0_Piezo_Sensor_V2.x.x.cpp b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/Pyr0_Piezo_Sensor_V2.x.x.cpp index d13015c..a398fcf 100644 --- a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/Pyr0_Piezo_Sensor_V2.x.x.cpp +++ b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/Pyr0_Piezo_Sensor_V2.x.x.cpp @@ -34,7 +34,9 @@ To set the below parameters using serial input, use the following: To change trigger active duration: TRG_D [integer for milliseconds] To change gain factor: GAIN_F [integer for gain state - see note*] -To change ADC hysteresis value: HYST [integer] +To change the output logic: LOGIC [0|1] (0 for active low, 1 for active high) +To enable piezo plugged detection: PZDET [0|1] (0 for disabled, 1 for enabled) +To change ADC hysteresis value: HYST [integer in millivolts] To change sensor input pullup vRef low threshold: VFOL [integer in millivolts] To change comparator trigger high threshold: VCOMP [integer in millivolts] To change the duration between ADC measurements: LOOP_D [integer in milliseconds]