Skip to main content

Class BBQ10Keyboard

Represents a BBQ10Keyboard Featherwing

Assembly: Bbq10Keyboard.dll
View Source
Declaration
public class BBQ10Keyboard : II2cPeripheral, IDisposable

Implements:
Meadow.Hardware.II2cPeripheral, System.IDisposable

Properties

DefaultI2cAddress

The default I2C address for the peripheral

View Source
Declaration
public byte DefaultI2cAddress { get; }

IsDisposed

Is the object disposed

View Source
Declaration
public bool IsDisposed { get; }

BackLight

Get or set the backlight

View Source
Declaration
public byte BackLight { get; set; }

BackLight2

Get or set the 2nd backlight

View Source
Declaration
public byte BackLight2 { get; set; }

Fields

i2cComms

I2C Communication bus used to communicate with the peripheral

View Source
Declaration
protected readonly II2cCommunications i2cComms

Methods

GetLastKeyEvent()

Get the last key event

View Source
Declaration
public BBQ10Keyboard.KeyEvent GetLastKeyEvent()
Returns

Meadow.Foundation.Sensors.Hid.BBQ10Keyboard.KeyEvent: The event### Reset() Reset the keyboard

View Source
Declaration
public void Reset()

ClearInerruptStatus()

Clear the interrupt status

View Source
Declaration
protected void ClearInerruptStatus()

Dispose()

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

View Source
Declaration
public void Dispose()

Dispose(bool)

Dispose of the object

View Source
Declaration
protected virtual void Dispose(bool disposing)
Parameters
TypeNameDescription
System.BooleandisposingIs disposing

Events

OnKeyEvent

Raised when a key press is detected

View Source
Declaration
public event EventHandler<BBQ10Keyboard.KeyEvent> OnKeyEvent
Event Type

System.EventHandler<Meadow.Foundation.Sensors.Hid.BBQ10Keyboard.KeyEvent>

Implements

  • Meadow.Hardware.II2cPeripheral
  • System.IDisposable