Uses of Class
com.diozero.api.GpioDevice
Package | Description |
---|---|
com.diozero.api |
APIs for interfacing with the host board.
|
com.diozero.devices |
Classes representing actual devices such as LEDs, Buttons as well as GPIO,
devices that are connected via I2C, SPI and Serial interfaces.
|
com.diozero.devices.sandpit |
-
Uses of GpioDevice in com.diozero.api
Subclasses of GpioDevice in com.diozero.api Modifier and Type Class Description class
AbstractDigitalInputDevice
Abstract base class for low-level GPIO digital input devices.class
AnalogInputDevice
The AnalogInputDevice base class encapsulates logic for interfacing with analog devices.class
DigitalInputDevice
Represents a generic digital input device.class
DigitalInputOutputDevice
class
DigitalOutputDevice
Provides generic digital (on/off) output control with support for active high and low logic.class
GpioInputDevice<T extends DeviceEvent>
Common base class for digital and analog input devices.class
PwmOutputDevice
Provide generic Pulse Width Modulation (PWM) output control.class
Servo
class
SmoothedInputDevice
Represents a generic input device which takes its value from the number of active events over a specific time period.class
WaitableDigitalInputDevice
Represents a digital input device with distinct waitable states (active / inactive). -
Uses of GpioDevice in com.diozero.devices
Subclasses of GpioDevice in com.diozero.devices Modifier and Type Class Description class
Button
Provides push button related utility methods.class
Buzzer
Represents a digital buzzer component.class
GP2Y0A21YK
Sharp GP2Y0A21YK distance sensor.class
LDR
Generic Photoresistor / Light-Dependent-Resistor (LDR).
Wiring:class
LED
Provides utility methods for controlling a Light Emitting Diode (LED).class
Potentiometer
Supports taking readings from a potentiometer.class
PwmLed
PWM controlled LED.class
TMP36
Support for reading temperature values from a TMP36 Temperature Sensor by Analog Devices -
Uses of GpioDevice in com.diozero.devices.sandpit
Subclasses of GpioDevice in com.diozero.devices.sandpit Modifier and Type Class Description class
DebouncedDigitalInputDevice
Represents a generic input device with typical on/off behaviour.class
MotionSensor
A Passive Infra-Red (PIR) motion sensor.