Skip to content

Commit

Permalink
Remove serial output for SCD40
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianstevens committed Feb 23, 2024
1 parent 200baf7 commit b9db5b7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Source/GnssTracker/GnssTrackerHardwareV2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b9db5b7

Please sign in to comment.