Basahin sa Ingles I-edit

Ibahagi sa


Bmm150I2cBase Class

Definition

Abstract class for Bmm150 the I2C interface. This sensor can be found as a sub I2C sensor like in the MPU9250. The access is done thru another I2C device and the core I2C primitive are different. Use those 3 primitive to define the access to read and write bytes to the Bmm150

C#
public abstract class Bmm150I2cBase
Inheritance
Bmm150I2cBase
Derived

Constructors

Methods

ReadByte(I2cDevice, Byte)

Read a byte on a specific register

ReadBytes(I2cDevice, Byte, Span<Byte>)

Read bytes on a specific Bmm150 register

WriteRegister(I2cDevice, Byte, Byte)

Write a register of the Bmm150

Applies to

Produkto Mga Bersyon
.NET IoT Libraries 2.0.0, 2.1.0, 2.2.0