From b9db5b742626d495937a8ba039440279ba3b1601 Mon Sep 17 00:00:00 2001 From: Adrian Stevens Date: Fri, 23 Feb 2024 09:48:02 -0800 Subject: [PATCH] Remove serial output for SCD40 --- Source/GnssTracker/GnssTrackerHardwareV2.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Source/GnssTracker/GnssTrackerHardwareV2.cs b/Source/GnssTracker/GnssTrackerHardwareV2.cs index dc1faa9..94776ea 100644 --- a/Source/GnssTracker/GnssTrackerHardwareV2.cs +++ b/Source/GnssTracker/GnssTrackerHardwareV2.cs @@ -117,12 +117,7 @@ private void InitializeScd40() try { Logger?.Trace("SCD40 Initializing..."); - - //try to write a byte to the address of the SCD40 sensor - I2cBus.Write(0x62, new byte[] { 0 }); var scd = new Scd40(I2cBus, (byte)Scd40.Addresses.Default); - var serialNum = scd.GetSerialNumber(); - Resolver.Log.Info($"Serial: {BitConverter.ToString(serialNum)}"); scd40 = scd; cO2ConcentrationSensor = scd; Resolver.SensorService.RegisterSensor(scd);