// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Device.I2c; namespace NucuCar.Sensors.Modules.Environment.Bmxx80 { /// /// Represents a BME280 temperature and barometric pressure sensor. /// public class Bmp280 : Bmx280Base { /// /// The expected chip ID of the BMP280. /// private const byte DeviceId = 0x58; /// /// Initializes a new instance of the class. /// /// The to create with. public Bmp280(I2cDevice i2cDevice) : base(DeviceId, i2cDevice) { _communicationProtocol = CommunicationProtocol.I2c; } } }