diff --git a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/pP_serial.h b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/pP_serial.h index 5d445c2..4adca89 100644 --- a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/pP_serial.h +++ b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/pP_serial.h @@ -116,7 +116,22 @@ void updateParams() { updateVAdj(); } else if (strcmp(serialMessageIn, "HYST") == 0) { - updateHysteresis(); + updateHysteresis(); + } + else if (strcmp(serialMessageIn, "HELP") == 0) { + Serial.println("To change trigger active duration: TRG_D [integer for milliseconds]"); + Serial.println("To change gain factor: GAIN_F [integer for gain state - see note*]"); + Serial.println("To change ADC hysteresis value: HYST [integer]"); + Serial.println("To change sensor input pullup vRef low threshold: VADJ [float value]"); + Serial.println("To change comparator trigger high threshold: VCOMP [float value]"); + Serial.println(""); + Serial.println("These commands should be wrapped in this format:"); + Serial.println(""); + Serial.println(""); + Serial.println("Examples:"); + Serial.println(" <~ set gain factor to index 3 (6x)"); + Serial.println(" <~ set the vref floor to 2.35V"); + parseData(); } }