Edit

Share via


Mpr121 Class

Definition

Supports MPR121 Proximity Capacitive Touch Sensor Controller.

public class Mpr121 : IDisposable
type Mpr121 = class
    interface IDisposable
Public Class Mpr121
Implements IDisposable
Inheritance
Mpr121
Implements

Constructors

Mpr121(I2cDevice, Int32, Mpr121Configuration)

Initialize a MPR121 controller.

Fields

DefaultI2cAddress

MPR121 Default I2C Address.

Properties

PeriodRefresh

Gets or sets the period in milliseconds to refresh the channels statuses.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ReadChannelStatus(Channels)

Reads the channel status of MPR121 controller.

ReadChannelStatuses()

Reads the channel statuses of MPR121 controller.

Events

ChannelStatusesChanged

Notifies about a the channel statuses have been changed. Refresh period can be changed by setting PeriodRefresh property.

Applies to