Package | Description |
---|---|
com.diozero |
Classes representing actual devices such as LEDs, Buttons as well as GPIO,
SPI and I2C connected devices.
|
com.diozero.api |
Lower-level APIs for interfacing with devices.
|
com.diozero.api.motor | |
com.diozero.internal.provider |
Service Provider Interface package.
|
com.diozero.internal.provider.mcp23xxx | |
com.diozero.internal.provider.sysfs | |
com.diozero.legacy |
Modifier and Type | Class and Description |
---|---|
class |
MCP23008 |
class |
MCP23017
|
class |
MCP23S17 |
class |
PCF8574 |
class |
PiconZero |
Constructor and Description |
---|
Button(GpioDeviceFactoryInterface deviceFactory,
int gpio,
GpioPullUpDown pud) |
LED(GpioDeviceFactoryInterface deviceFactory,
int gpio) |
LED(GpioDeviceFactoryInterface deviceFactory,
int gpio,
boolean activeHigh,
boolean initialValue) |
LedBarGraph(GpioDeviceFactoryInterface deviceFactory,
boolean activeHigh,
int... gpios) |
LedBarGraph(GpioDeviceFactoryInterface deviceFactory,
int... gpios) |
RgbLed(GpioDeviceFactoryInterface deviceFactory,
int redPin,
int greenPin,
int bluePin) |
Constructor and Description |
---|
DigitalInputDevice(GpioDeviceFactoryInterface deviceFactory,
int gpio,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
DigitalInputOutputDevice(GpioDeviceFactoryInterface deviceFactory,
int gpio,
DeviceMode mode) |
DigitalOutputDevice(GpioDeviceFactoryInterface deviceFactory,
int gpio,
boolean activeHigh,
boolean initialValue) |
SmoothedInputDevice(GpioDeviceFactoryInterface deviceFactory,
int gpio,
GpioPullUpDown pud,
int threshold,
int eventAge,
int eventDetectPeriod) |
WaitableDigitalInputDevice(GpioDeviceFactoryInterface deviceFactory,
int gpio,
GpioPullUpDown pud,
GpioEventTrigger trigger) |
Constructor and Description |
---|
DigitalMotor(GpioDeviceFactoryInterface deviceFactory,
int forwardGpio,
int backwardGpio) |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
MCP23x08 |
class |
MCP23x17 |
class |
MCP23xxx
Support for both MCP23008 and MCP23017 GPIO expansion boards.
|
Modifier and Type | Class and Description |
---|---|
class |
SysFsDeviceFactory |
Modifier and Type | Class and Description |
---|---|
class |
MCP23008Old
|
class |
MCP23017Old
|
Copyright © 2016–2017 mattjlewis. All rights reserved.