Skip to main content

Class BBQ10Keyboard

Represents a BBQ10Keyboard Featherwing

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

Implements:
Meadow.Hardware.II2cPeripheral, System.IDisposable

Properties

DefaultI2cAddress

The default I2C address for the peripheral

View Source
public byte DefaultI2cAddress { get; }

IsDisposed

Is the object disposed

View Source
public bool IsDisposed { get; }

BackLight

Get or set the backlight

View Source
public byte BackLight { get; set; }

BackLight2

Get or set the 2nd backlight

View Source
public byte BackLight2 { get; set; }

Fields

i2cComms

I2C Communication bus used to communicate with the peripheral

View Source
protected readonly II2cCommunications i2cComms

Methods

GetLastKeyEvent()

Get the last key event

View Source
public BBQ10Keyboard.KeyEvent GetLastKeyEvent()
Returns

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

View Source
public void Reset()

ClearInerruptStatus()

Clear the interrupt status

View Source
protected void ClearInerruptStatus()

Dispose()

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

View Source
public void Dispose()

Dispose(bool)

Dispose of the object

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

Events

OnKeyEvent

Raised when a key press is detected

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

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

Implements

  • Meadow.Hardware.II2cPeripheral
  • System.IDisposable