From 89459b0f23abaa6c7983c2c140b87a91e6e43434 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Tue, 15 Sep 2020 10:50:16 -0700 Subject: [PATCH] set default vccsw state to 5v instead of 3.3v #bugfix default parameters do not work on 3.3v --- firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_config.h b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_config.h index cbdcc22..0e416ba 100644 --- a/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_config.h +++ b/firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/src/pP_config.h @@ -41,7 +41,7 @@ extern int LOGIC; // Trigger logic scheme, Active LOW is default #define PZDET_ADDRESS 26 extern int PZDET; // Enable or disable piezo connection detection, default is off -#define VCCSW_DEFAULT 0 +#define VCCSW_DEFAULT 1 #define VCCSW_ADDRESS 28 extern int VCCSW; // Set the signal output to 3.3v [0] or 5v logic [1]