Package | Description |
---|---|
com.diozero |
Classes representing actual devices such as LEDs, Buttons as well as GPIO,
SPI and I2C connected devices.
|
com.diozero.internal | |
com.diozero.internal.provider |
Service Provider Interface package.
|
com.diozero.internal.provider.mcp23xxx | |
com.diozero.internal.provider.sysfs | |
com.diozero.legacy | |
com.diozero.sandpit |
Modifier and Type | Class and Description |
---|---|
class |
MCP23008 |
class |
MCP23017
|
class |
MCP23S17 |
class |
McpAdc |
class |
PCA9685
PCA9685 I2C-bus controlled 16-channel 12-bit PWM controller as used in the popular Adafruit PWM add-on board
Datasheet: http://www.nxp.com/documents/data_sheet/PCA9685.pdf
|
class |
PCF8574 |
class |
PCF8591
Analog to Digital Converter.
|
class |
PiconZero |
Constructor and Description |
---|
SoftwarePwmOutputDevice(String key,
DeviceFactoryInterface deviceFactory,
GpioDigitalOutputDeviceInterface digitalOutputDevice,
int frequency,
float initialValue) |
Modifier and Type | Interface and Description |
---|---|
interface |
AnalogInputDeviceFactoryInterface |
interface |
AnalogOutputDeviceFactoryInterface |
interface |
GpioDeviceFactoryInterface |
interface |
I2CDeviceFactoryInterface |
interface |
NativeDeviceFactoryInterface |
interface |
PwmOutputDeviceFactoryInterface |
interface |
SpiDeviceFactoryInterface |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDeviceFactory |
class |
BaseNativeDeviceFactory
Helper class for instantiating different devices via the configured provider.
|
Modifier and Type | Method and Description |
---|---|
protected DeviceFactoryInterface |
AbstractDevice.getDeviceFactory() |
Modifier and Type | Method and Description |
---|---|
void |
NativeDeviceFactoryInterface.registerDeviceFactory(DeviceFactoryInterface deviceFactory) |
void |
BaseNativeDeviceFactory.registerDeviceFactory(DeviceFactoryInterface deviceFactory) |
Constructor and Description |
---|
AbstractDevice(String key,
DeviceFactoryInterface deviceFactory) |
AbstractInputDevice(String key,
DeviceFactoryInterface deviceFactory) |
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 |
Constructor and Description |
---|
OdroidC2SysFsPwmOutputDevice(String key,
DeviceFactoryInterface deviceFactory,
PwmPinInfo pinInfo,
int frequency,
float initialValue) |
SysFsI2cDevice(DeviceFactoryInterface deviceFactory,
String key,
int controller,
int address,
int addressSize,
int frequency) |
SysFsPwmOutputDevice(String key,
DeviceFactoryInterface deviceFactory,
int pwmChip,
PwmPinInfo pinInfo,
int frequency,
float initialValue) |
SysFsSpiDevice(DeviceFactoryInterface deviceFactory,
String key,
int controller,
int chipSelect,
int frequency,
SpiClockMode spiClockMode,
boolean lsbFirst) |
Modifier and Type | Class and Description |
---|---|
class |
MCP23008Old
|
class |
MCP23017Old
|
Modifier and Type | Class and Description |
---|---|
class |
ADS1015
|
Copyright © 2016–2017 mattjlewis. All rights reserved.