From f9c1e4ff4e89eeef9350cf95b10de53a559d3c47 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Tue, 19 Feb 2019 01:30:09 -0800 Subject: [PATCH] Added the serial input function to the loop --- .../Pyr0_Piezo_Sensor_v2.0.0/Pyr0_Piezo_Sensor_v2.0.0.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.0.0/Pyr0_Piezo_Sensor_v2.0.0.ino b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.0.0/Pyr0_Piezo_Sensor_v2.0.0.ino index 2eab41c..0afc0fc 100644 --- a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.0.0/Pyr0_Piezo_Sensor_v2.0.0.ino +++ b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.0.0/Pyr0_Piezo_Sensor_v2.0.0.ino @@ -376,6 +376,9 @@ void loop() { // Check for error state checkError(); + // Get Serial Input + serialInput(); + // Checks state of the interrupt trigger, prints status, then sets output pin low Serial.print("PZ Status:"); Serial.println(sensorHReading);