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.api.motor | |
com.diozero.internal.spi | |
com.diozero.sandpit |
Modifier and Type | Class and Description |
---|---|
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
|
Constructor and Description |
---|
PwmLed(PwmOutputDeviceFactoryInterface deviceFactory,
int pinNumber) |
PwmLed(PwmOutputDeviceFactoryInterface deviceFactory,
int pinNumber,
float initialValue) |
RgbPwmLed(PwmOutputDeviceFactoryInterface deviceFactory,
int redPin,
int greenPin,
int bluePin) |
Constructor and Description |
---|
PwmOutputDevice(PwmOutputDeviceFactoryInterface pwmDeviceFactory,
int pinNumber,
float initialValue) |
Constructor and Description |
---|
Motor(PwmOutputDeviceFactoryInterface deviceFactory,
int forwardPwmPin,
int backwardPwmPin) |
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 |
---|
Servo(PwmOutputDeviceFactoryInterface pwmDeviceFactory,
int pinNumber,
int pwmFrequency,
float initialPulseWidthMs) |
TB6612FNGDualMotorDriver(PwmOutputDeviceFactoryInterface pwmDeviceFactory,
int leftMotorClockwiseControlPinNumber,
int leftMotorCounterClockwiseControlPinNumber,
int leftMotorPwmPinNumber,
int rightMotorClockwiseControlPinNumber,
int rightMotorCounterClockwiseControlPinNumber,
int rightMotorPwmPinNumber) |
Copyright © 2016 mattjlewis. All rights reserved.