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 | |
com.diozero.util |
Modifier and Type | Class and Description |
---|---|
class |
MCP23017
|
Constructor and Description |
---|
Button(GpioDeviceFactoryInterface deviceFactory,
int pinNumber,
GpioPullUpDown pud) |
LED(GpioDeviceFactoryInterface deviceFactory,
int pinNumber) |
LED(GpioDeviceFactoryInterface deviceFactory,
int pinNumber,
boolean activeHigh,
boolean initialValue) |
RgbLed(GpioDeviceFactoryInterface deviceFactory,
int redPin,
int greenPin,
int bluePin) |
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.
|
Constructor and Description |
---|
SoftwarePwm(GpioDeviceFactoryInterface deviceFactory,
int pinNumber) |
Copyright © 2016 mattjlewis. All rights reserved.