Package | Description |
---|---|
com.diozero |
Support for devices representing actual devices such as LEDs, Buttons including GPIO, SPI and I2C devices.
|
com.diozero.api |
Lower-level APIs for interfacing with devices.
|
com.diozero.internal.spi |
Modifier and Type | Class and Description |
---|---|
class |
MCP23017
http://ww1.microchip.com/downloads/en/DeviceDoc/21952b.pdf
The MCP23X17 consists of multiple 8-bit configuration registers for input, output and polarity selection.
|
Constructor and Description |
---|
Button(GpioDeviceFactoryInterface deviceFactory,
int pinNumber,
GpioPullUpDown pud) |
LED(GpioDeviceFactoryInterface deviceFactory,
int pinNumber) |
LED(GpioDeviceFactoryInterface deviceFactory,
int pinNumber,
boolean activeHigh,
boolean initialValue) |
Constructor and Description |
---|
DigitalInputDevice(GpioDeviceFactoryInterface deviceFactory,
int pinNumber,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
DigitalOutputDevice(GpioDeviceFactoryInterface deviceFactory,
int pinNumber,
boolean activeHigh,
boolean initialValue) |
SmoothedInputDevice(GpioDeviceFactoryInterface deviceFactory,
int pinNumber,
GpioPullUpDown pud,
int threshold,
int eventAge,
int eventDetectPeriod) |
WaitableDigitalInputDevice(GpioDeviceFactoryInterface deviceFactory,
int pinNumber,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
Modifier and Type | Interface and Description |
---|---|
interface |
NativeDeviceFactoryInterface |
Modifier and Type | Class and Description |
---|---|
class |
BaseNativeDeviceFactory
Helper class for instantiating different devices via the configured provider.
|
Copyright © 2016 mattjlewis. All rights reserved.