added for Testing

This commit is contained in:
richonguzman 2024-10-04 12:04:46 -03:00
parent b6be66908e
commit 0e7fd0a024
3 changed files with 4 additions and 3 deletions

View File

@ -49,7 +49,7 @@ TinyGPSPlus gps;
OneButton userButton = OneButton(BUTTON_PIN, true, true);
#endif
String versionDate = "2024.10.03";
String versionDate = "2024.10.04";
uint8_t myBeaconsIndex = 0;
int myBeaconsSize = Config.beacons.size();

View File

@ -61,10 +61,10 @@ namespace BME_Utils {
if (Config.bme.active) {
#ifdef LIGHTTRACKER_PLUS_1_0
if (! shtc3.begin()) {
Serial.println("Couldn't find SHTC3");
logger.log(logging::LoggerLevel::LOGGER_LEVEL_INFO, "BME", " SHTC3 sensor found");
while (1) delay(1);
}
Serial.println("Found SHTC3 sensor");
logger.log(logging::LoggerLevel::LOGGER_LEVEL_INFO, "BME", " SHTC3 sensor found");
#else
getWxModuleAddres();
if (wxModuleAddress != 0x00) {

View File

@ -53,6 +53,7 @@ namespace GPS_Utils {
#ifdef LIGHTTRACKER_PLUS_1_0
pinMode(GPS_VCC, OUTPUT);
digitalWrite(GPS_VCC, LOW);
delay(200);
#endif
neo6m_gps.begin(GPS_BAUD, SERIAL_8N1, GPS_TX, GPS_RX);
}