Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

AbstractDevice - Class in com.diozero.internal.spi
 
AbstractDevice(String, DeviceFactoryInterface) - Constructor for class com.diozero.internal.spi.AbstractDevice
 
AbstractDeviceFactory - Class in com.diozero.internal.spi
 
AbstractDeviceFactory() - Constructor for class com.diozero.internal.spi.AbstractDeviceFactory
 
AbstractInputDevice<T extends DeviceEvent> - Class in com.diozero.internal.spi
 
AbstractInputDevice(String, DeviceFactoryInterface) - Constructor for class com.diozero.internal.spi.AbstractInputDevice
 
Action - Interface in com.diozero.api
 
action() - Method in interface com.diozero.api.Action
 
activeHigh - Variable in class com.diozero.api.DigitalInputDevice
 
addFile(int, String) - Static method in class com.diozero.util.EpollNative
 
addListener(InputEventListener<AnalogInputEvent>, float) - Method in class com.diozero.api.AnalogInputDevice
Register a listener for value changes, will check for changes every 50ms.
addListener(InputEventListener<AnalogInputEvent>, float, int) - Method in class com.diozero.api.AnalogInputDevice
Register a listener for value changes, will check for changes every 50ms.
addListener(InputEventListener<T>) - Method in class com.diozero.api.GpioInputDevice
Add a new listener.
addListener(MotorListener) - Method in class com.diozero.api.motor.MotorBase
 
addListener(MotorListener) - Method in interface com.diozero.api.motor.MotorInterface
 
addOrientationListener(OrientationListener) - Method in interface com.diozero.api.imu.ImuInterface
 
ADDR_SIZE_10 - Static variable in interface com.diozero.api.I2CConstants
 
ADDR_SIZE_7 - Static variable in interface com.diozero.api.I2CConstants
 
addTapListener(TapListener) - Method in interface com.diozero.api.imu.ImuInterface
 
addText(String) - Method in class com.diozero.I2CLcd
 
addText(char) - Method in class com.diozero.I2CLcd
 
addText(byte) - Method in class com.diozero.I2CLcd
 
AnalogInputDevice - Class in com.diozero.api
The AnalogInputDevice base class encapsulates logic for interfacing with analog devices.
AnalogInputDevice(int, float) - Constructor for class com.diozero.api.AnalogInputDevice
 
AnalogInputDevice(AnalogInputDeviceFactoryInterface, int, float) - Constructor for class com.diozero.api.AnalogInputDevice
 
AnalogInputDeviceFactoryInterface - Interface in com.diozero.internal.spi
 
AnalogInputEvent - Class in com.diozero.api
 
AnalogInputEvent(int, long, long, float, float) - Constructor for class com.diozero.api.AnalogInputEvent
 
AnalogOutputDeviceFactoryInterface - Interface in com.diozero.internal.spi
 
anticoll() - Method in class com.diozero.sandpit.MFRC522
 
asInt(byte) - Static method in class com.diozero.util.IOUtil
Get an unsigned int value from a signed byte
auth(byte, byte, byte[], byte[]) - Method in class com.diozero.sandpit.MFRC522
 

B

backward() - Method in class com.diozero.api.motor.DigitalMotor
 
backward(float) - Method in class com.diozero.api.motor.DualMotor
 
backward() - Method in class com.diozero.api.motor.Motor
Backward at full speed
backward(float) - Method in class com.diozero.api.motor.Motor
 
backward(float) - Method in interface com.diozero.api.motor.MotorInterface
 
backward(float) - Method in class com.diozero.sandpit.TB6612FNGMotor
 
backwardLeft(float) - Method in class com.diozero.api.motor.DualMotor
 
backwardRight(float) - Method in class com.diozero.api.motor.DualMotor
 
BaseNativeDeviceFactory - Class in com.diozero.internal.spi
Helper class for instantiating different devices via the configured provider.
BaseNativeDeviceFactory() - Constructor for class com.diozero.internal.spi.BaseNativeDeviceFactory
 
beep() - Method in class com.diozero.Buzzer
Beep repeatedly in a background thread.
beep(float, float, int, boolean) - Method in class com.diozero.Buzzer
Beep.
BitManipulation - Class in com.diozero.util
 
BitManipulation() - Constructor for class com.diozero.util.BitManipulation
 
blink() - Method in class com.diozero.LED
Blink indefinitely with 1 second on and 1 second off.
blink(float, float, int, boolean) - Method in class com.diozero.LED
Blink.
blink() - Method in class com.diozero.PwmLed
Blink the LED on and off indefinitely.
blink(float, float, int, boolean) - Method in class com.diozero.PwmLed
Blink the LED on and off repeatedly.
BME280 - Class in com.diozero
Datasheet: https://cdn-shop.adafruit.com/datasheets/BST-BME280_DS001-10.pdf Sample implementations: https://github.com/ControlEverythingCommunity/BME280/blob/master/Java/BME280.java https://github.com/adafruit/Adafruit_BME280_Library/blob/master/ Adafruit_BME280.cpp
BME280() - Constructor for class com.diozero.BME280
 
BME280(int, int) - Constructor for class com.diozero.BME280
 
BME280.FilterMode - Enum in com.diozero
 
BME280.HumidityOversampling - Enum in com.diozero
 
BME280.OperatingMode - Enum in com.diozero
 
BME280.PressureOversampling - Enum in com.diozero
 
BME280.StandbyMode - Enum in com.diozero
 
BME280.TemperatureOversampling - Enum in com.diozero
 
BME280Test - Class in com.diozero.sampleapps
 
BME280Test() - Constructor for class com.diozero.sampleapps.BME280Test
 
BMP180 - Class in com.diozero
Bosch BMP180 I2C temperature and pressure sensor
BMP180(BMP180.BMPMode) - Constructor for class com.diozero.BMP180
Constructor
BMP180(int, int, BMP180.BMPMode) - Constructor for class com.diozero.BMP180
 
BMP180.BMPMode - Enum in com.diozero
Relationship between sampling mode and conversion delay (in ms) for each sampling mode Ultra low power: 4.5 ms minimum conversion delay Standard: 7.5 ms High Resolution: 13.5 ms Ultra high Resolution: 25.5 ms
BMP180Test - Class in com.diozero.sampleapps
BMP180 temperature / pressure sensor sample application.
BMP180Test() - Constructor for class com.diozero.sampleapps.BMP180Test
 
BoardInfo - Class in com.diozero.util
 
BoardInfo(String, String, int, Map<Integer, List<GpioDeviceInterface.Mode>>, String) - Constructor for class com.diozero.util.BoardInfo
 
BoardInfoProvider - Interface in com.diozero.util
 
BUS_0 - Static variable in interface com.diozero.api.I2CConstants
 
BUS_1 - Static variable in interface com.diozero.api.I2CConstants
 
busySleep(long) - Static method in class com.diozero.util.SleepUtil
 
Button - Class in com.diozero
Provides push button related utility methods.
Button(int) - Constructor for class com.diozero.Button
Pull up / down configuration defaults to NONE.
Button(int, GpioPullUpDown) - Constructor for class com.diozero.Button
 
Button(GpioDeviceFactoryInterface, int, GpioPullUpDown) - Constructor for class com.diozero.Button
 
ButtonControlledLed - Class in com.diozero.sampleapps
Control an LED with a button.
ButtonControlledLed() - Constructor for class com.diozero.sampleapps.ButtonControlledLed
 
ButtonTest - Class in com.diozero.sampleapps
Input test application.
ButtonTest() - Constructor for class com.diozero.sampleapps.ButtonTest
 
Buzzer - Class in com.diozero
Represents a digital buzzer component.
Buzzer(int) - Constructor for class com.diozero.Buzzer
 
Buzzer(int, boolean) - Constructor for class com.diozero.Buzzer
 

C

calcPulseMsPerBit(int, int) - Static method in class com.diozero.util.ServoUtil
 
calcServoPulseBits(double, double) - Static method in class com.diozero.util.ServoUtil
 
calcServoPulseBits(double, int, int) - Static method in class com.diozero.util.ServoUtil
Calculate the number of bits required for the specified pulse width (milliseconds)
calculateCrc(byte[]) - Method in class com.diozero.sandpit.MFRC522
 
CamJamKitDualMotor - Class in com.diozero
CamJam EduKit 3 Robot.
CamJamKitDualMotor() - Constructor for class com.diozero.CamJamKitDualMotor
 
CamJamLineFollower - Class in com.diozero.sampleapps
Line follower test application with CamJam EduKit motor controller, 3 IR sensors, an HC-SR04 distance sensor and 4 LEDs.
CamJamLineFollower() - Constructor for class com.diozero.sampleapps.CamJamLineFollower
 
CamJamRobot - Class in com.diozero.sampleapps
Line follower test application with CamJam EduKit motor controller, 3 IR sensors, an HC-SR04 distance sensor and 4 LEDs.
CamJamRobot() - Constructor for class com.diozero.sampleapps.CamJamRobot
 
circleLeft(float, float) - Method in class com.diozero.api.motor.DualMotor
 
circleRight(float, float) - Method in class com.diozero.api.motor.DualMotor
 
clear() - Method in class com.diozero.I2CLcd
Clear the display
clear() - Method in class com.diozero.util.Event
 
close() - Method in class com.diozero.api.AnalogInputDevice
 
close() - Method in class com.diozero.api.DigitalInputDevice
 
close() - Method in class com.diozero.api.DigitalOutputDevice
 
close() - Method in class com.diozero.api.I2CDevice
 
close() - Method in class com.diozero.api.motor.DigitalMotor
 
close() - Method in class com.diozero.api.motor.DualMotor
 
close() - Method in class com.diozero.api.motor.Motor
 
close() - Method in class com.diozero.api.PwmOutputDevice
 
close() - Method in class com.diozero.api.SpiDevice
 
close() - Method in class com.diozero.BME280
 
close() - Method in class com.diozero.BMP180
 
close() - Method in class com.diozero.HCSR04
Free device GPIOs
close() - Method in class com.diozero.HTS221
 
close() - Method in class com.diozero.I2CLcd
 
close() - Method in class com.diozero.internal.spi.AbstractDevice
 
close() - Method in interface com.diozero.internal.spi.DeviceInterface
 
close() - Method in interface com.diozero.internal.spi.GpioAnalogInputDeviceInterface
 
close() - Method in class com.diozero.LPS25H
 
close() - Method in class com.diozero.MCP23017
 
close() - Method in class com.diozero.McpAdc
 
close() - Method in class com.diozero.PCA9685
 
close() - Method in class com.diozero.RgbLed
 
close() - Method in class com.diozero.RgbPwmLed
 
close() - Method in class com.diozero.sampleapps.CamJamLineFollower
 
close() - Method in class com.diozero.sampleapps.CamJamRobot
 
close() - Method in class com.diozero.sampleapps.I2CLcdSampleAppInteractive
 
close() - Method in class com.diozero.sampleapps.MotionTest
 
close() - Method in class com.diozero.sandpit.HCSR04UsingEvents
Free device GPIOs
close() - Method in class com.diozero.sandpit.HCSR04UsingWait
Free device GPIOs
close() - Method in class com.diozero.sandpit.MFRC522
 
close() - Method in class com.diozero.sandpit.PCF8591
 
close() - Method in class com.diozero.sandpit.Servo
 
close() - Method in class com.diozero.sandpit.TB6612FNGMotor
 
close() - Method in class com.diozero.TSL2561
 
close() - Method in class com.diozero.util.SoftwarePwm
 
closeAll() - Method in class com.diozero.internal.DeviceStates
 
closeChannel(int) - Method in class com.diozero.PCA9685
 
closed(DeviceInterface) - Method in class com.diozero.internal.DeviceStates
 
closeDevice() - Method in class com.diozero.internal.spi.AbstractDevice
 
closePin(int) - Method in class com.diozero.MCP23017
 
com.diozero - package com.diozero
Support for devices representing actual devices such as LEDs, Buttons including GPIO, SPI and I2C devices.
com.diozero.api - package com.diozero.api
Lower-level APIs for interfacing with devices.
com.diozero.api.imu - package com.diozero.api.imu
 
com.diozero.api.motor - package com.diozero.api.motor
 
com.diozero.internal - package com.diozero.internal
 
com.diozero.internal.board.odroid - package com.diozero.internal.board.odroid
 
com.diozero.internal.board.raspberrypi - package com.diozero.internal.board.raspberrypi
 
com.diozero.internal.spi - package com.diozero.internal.spi
 
com.diozero.sampleapps - package com.diozero.sampleapps
Sample applications.
com.diozero.sandpit - package com.diozero.sandpit
 
com.diozero.util - package com.diozero.util
 
createAnalogInputPin(String, int) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
createAnalogOutputPin(String, int) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
createChar(int, byte[]) - Method in class com.diozero.I2CLcd
 
createDigitalInputPin(String, int, GpioPullUpDown, GpioEventTrigger) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
createDigitalOutputPin(String, int, boolean) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
createI2CDevice(String, int, int, int, int) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
createPwmOutputPin(String, int, float, PwmType) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
createSpiDevice(String, int, int, int, SpiClockMode) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
cursorOrDisplayShift(boolean, boolean) - Method in class com.diozero.I2CLcd
Cursor or display shift shifts the cursor position or display to the right or left without writing or reading display data.

D

DebouncedDigitalInputDevice - Class in com.diozero.sandpit
Represents a generic input device with typical on/off behaviour.
DebouncedDigitalInputDevice(int) - Constructor for class com.diozero.sandpit.DebouncedDigitalInputDevice
 
DebouncedDigitalInputDevice(int, GpioPullUpDown, float) - Constructor for class com.diozero.sandpit.DebouncedDigitalInputDevice
 
DebouncedDigitalInputDevice(int, GpioPullUpDown, float, GpioEventTrigger) - Constructor for class com.diozero.sandpit.DebouncedDigitalInputDevice
 
DEFAULT_BYTE_ORDER - Static variable in class com.diozero.util.IOUtil
 
DEFAULT_CLOCK_FREQUENCY - Static variable in interface com.diozero.api.I2CConstants
 
DEFAULT_DEVICE_ADDRESS - Static variable in class com.diozero.I2CLcd
 
DEFAULT_SPI_CLOCK_FREQUENCY - Static variable in interface com.diozero.api.SPIConstants
 
DEFAULT_SPI_CLOCK_MODE - Static variable in interface com.diozero.api.SPIConstants
 
DEFAULT_SPI_CONTROLLER - Static variable in interface com.diozero.api.SPIConstants
 
DEFAULT_WORD_LENGTH - Static variable in interface com.diozero.api.SPIConstants
 
device - Variable in class com.diozero.api.DigitalInputDevice
 
DeviceAlreadyOpenedException - Exception in com.diozero.api
 
DeviceAlreadyOpenedException(String) - Constructor for exception com.diozero.api.DeviceAlreadyOpenedException
 
deviceClosed(DeviceInterface) - Method in class com.diozero.internal.spi.AbstractDeviceFactory
 
deviceClosed(DeviceInterface) - Method in interface com.diozero.internal.spi.DeviceFactoryInterface
 
DeviceEvent - Class in com.diozero.api
 
DeviceEvent(int, long, long) - Constructor for class com.diozero.api.DeviceEvent
 
DeviceFactoryHelper - Class in com.diozero.internal
Helper class for instantiating different devices via the configured provider.
DeviceFactoryHelper() - Constructor for class com.diozero.internal.DeviceFactoryHelper
 
DeviceFactoryInterface - Interface in com.diozero.internal.spi
 
DeviceInterface - Interface in com.diozero.internal.spi
 
deviceOpened(DeviceInterface) - Method in class com.diozero.internal.spi.AbstractDeviceFactory
 
deviceOpened(DeviceInterface) - Method in interface com.diozero.internal.spi.DeviceFactoryInterface
 
DeviceStates - Class in com.diozero.internal
 
DeviceStates() - Constructor for class com.diozero.internal.DeviceStates
 
deviceStates - Variable in class com.diozero.internal.spi.AbstractDeviceFactory
 
DigitalInputDevice - Class in com.diozero.api
Represents a generic digital input device.
DigitalInputDevice(int) - Constructor for class com.diozero.api.DigitalInputDevice
 
DigitalInputDevice(int, GpioPullUpDown, GpioEventTrigger) - Constructor for class com.diozero.api.DigitalInputDevice
 
DigitalInputDevice(GpioDeviceFactoryInterface, int, GpioPullUpDown, GpioEventTrigger) - Constructor for class com.diozero.api.DigitalInputDevice
 
DigitalInputEvent - Class in com.diozero.api
 
DigitalInputEvent(int, long, long, boolean) - Constructor for class com.diozero.api.DigitalInputEvent
 
DigitalMotor - Class in com.diozero.api.motor
 
DigitalMotor(int, int) - Constructor for class com.diozero.api.motor.DigitalMotor
 
DigitalOutputDevice - Class in com.diozero.api
Provides generic digital (on/off) output control with support for active high and low logic.
DigitalOutputDevice(int) - Constructor for class com.diozero.api.DigitalOutputDevice
Defaults to active high logic, initial value is off.
DigitalOutputDevice(int, boolean, boolean) - Constructor for class com.diozero.api.DigitalOutputDevice
 
DigitalOutputDevice(GpioDeviceFactoryInterface, int, boolean, boolean) - Constructor for class com.diozero.api.DigitalOutputDevice
 
DioZeroScheduler - Class in com.diozero.util
 
disableListener() - Method in class com.diozero.api.AnalogInputDevice
 
disableListener() - Method in class com.diozero.api.DigitalInputDevice
 
disableListener() - Method in class com.diozero.api.GpioInputDevice
 
disableListener() - Method in class com.diozero.api.WaitableDigitalInputDevice
 
disableListener() - Method in class com.diozero.internal.spi.AbstractInputDevice
 
displayControl(boolean, boolean, boolean) - Method in class com.diozero.I2CLcd
 
DistanceSensorInterface - Interface in com.diozero.api
 
doWait() - Method in class com.diozero.util.Event
Wait indefinitely for set() to be called.
doWait(int) - Method in class com.diozero.util.Event
Wait the specified time period for set() to be called.
DualMotor - Class in com.diozero.api.motor
Generic dual bi-directional motor driver
DualMotor(MotorInterface, MotorInterface) - Constructor for class com.diozero.api.motor.DualMotor
 
dumpMemory(IntBuffer, int, int) - Static method in class com.diozero.util.MemoryInspector
 

E

enableListener() - Method in class com.diozero.api.AnalogInputDevice
 
enableListener() - Method in class com.diozero.api.DigitalInputDevice
 
enableListener() - Method in class com.diozero.api.GpioInputDevice
 
enableListener() - Method in class com.diozero.internal.spi.AbstractInputDevice
 
entryModeControl(boolean, boolean) - Method in class com.diozero.I2CLcd
Control text entry mode.
epollCreate() - Static method in class com.diozero.util.EpollNative
 
EpollEvent - Class in com.diozero.util
 
EpollEvent(int, int, long) - Constructor for class com.diozero.util.EpollEvent
 
EpollNative - Class in com.diozero.util
 
EpollNative() - Constructor for class com.diozero.util.EpollNative
 
EpollTest - Class in com.diozero.sandpit
 
EpollTest() - Constructor for class com.diozero.sandpit.EpollTest
 
equals(byte) - Method in class com.diozero.util.MutableByte
 
Event - Class in com.diozero.util
 
Event() - Constructor for class com.diozero.util.Event
 
execute(Runnable) - Method in class com.diozero.util.DioZeroScheduler
 

F

fadeInOutLoop(float, int, int, boolean) - Method in class com.diozero.api.PwmOutputDevice
 
forId(int) - Static method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Manufacturer
 
forId(int) - Static method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Memory
 
forId(int) - Static method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Model
 
forId(int) - Static method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Processor
 
forId(int) - Static method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Revision
 
forward() - Method in class com.diozero.api.motor.DigitalMotor
 
forward(float) - Method in class com.diozero.api.motor.DualMotor
 
forward() - Method in class com.diozero.api.motor.Motor
Forward at full speed
forward(float) - Method in class com.diozero.api.motor.Motor
 
forward(float) - Method in interface com.diozero.api.motor.MotorInterface
 
forward(float) - Method in class com.diozero.sandpit.TB6612FNGMotor
 
forwardLeft(float) - Method in class com.diozero.api.motor.DualMotor
 
forwardRight(float) - Method in class com.diozero.api.motor.DualMotor
 

G

getAccel() - Method in class com.diozero.api.imu.ImuData
 
getAccelerometerData() - Method in interface com.diozero.api.imu.ImuInterface
 
getAddress() - Method in class com.diozero.api.I2CDevice
 
getAddressSize() - Method in class com.diozero.api.I2CDevice
 
getAvailableSensors() - Static method in class com.diozero.W1ThermSensor
 
getAvailableSensors(String) - Static method in class com.diozero.W1ThermSensor
 
getBitMask(int...) - Static method in class com.diozero.util.BitManipulation
 
getBitMask(int) - Static method in class com.diozero.util.BitManipulation
 
getBoardInfo() - Static method in class com.diozero.util.SystemInfo
 
getByMode(int) - Static method in enum com.diozero.api.SpiClockMode
 
getChipSelect() - Method in class com.diozero.api.SpiDevice
 
getChipSelect() - Method in interface com.diozero.internal.spi.SpiDeviceInterface
 
getClockFrequency() - Method in class com.diozero.api.I2CDevice
 
getColumnCount() - Method in class com.diozero.I2CLcd
 
getCompass() - Method in class com.diozero.api.imu.ImuData
 
getCompassData() - Method in interface com.diozero.api.imu.ImuInterface
 
getControlFlags() - Method in enum com.diozero.sandpit.PCF8591.InputMode
 
getController() - Method in class com.diozero.api.I2CDevice
 
getController() - Method in class com.diozero.api.SpiDevice
 
getController() - Method in interface com.diozero.internal.spi.SpiDeviceInterface
 
getCount() - Method in class com.diozero.api.imu.TapEvent
 
getDaemonInstance() - Static method in class com.diozero.util.DioZeroScheduler
 
getDelay() - Method in enum com.diozero.BMP180.BMPMode
Return the conversion delay (in ms) associated with this sampling mode
getDevice(String) - Method in class com.diozero.internal.DeviceStates
 
getDevice(String, Class<T>) - Method in class com.diozero.internal.spi.AbstractDeviceFactory
 
getDeviceFactory() - Method in class com.diozero.internal.spi.AbstractDevice
 
getDirection() - Method in class com.diozero.api.imu.TapEvent
 
getDistanceCm() - Method in interface com.diozero.api.DistanceSensorInterface
 
getDistanceCm() - Method in class com.diozero.GP2Y0A21YK
Read distance in centimetres, range 10 to 80cm.
getDistanceCm() - Method in class com.diozero.HCSR04
Send a pulse to HCSR04 and compute the echo to obtain distance
getDistanceCm() - Method in class com.diozero.sandpit.HCSR04UsingEvents
Send a pulse to HCSR04 and compute the echo to obtain distance
getDistanceCm() - Method in class com.diozero.sandpit.HCSR04UsingWait
Send a pulse to HCSR04 and compute the echo to obtain distance
getEpochTime() - Method in class com.diozero.api.DeviceEvent
 
getEpochTime() - Method in class com.diozero.api.motor.MotorEvent
 
getEpochTime() - Method in class com.diozero.util.EpollEvent
 
getEventAge() - Method in class com.diozero.api.SmoothedInputDevice
The time in milliseconds to keep items in the queue.
getEventDetectPeriod() - Method in class com.diozero.api.SmoothedInputDevice
How frequently (in milliseconds) to check the state of the queue.
getEventMask() - Method in class com.diozero.util.EpollEvent
 
getFd() - Method in class com.diozero.util.EpollEvent
 
getGyro() - Method in class com.diozero.api.imu.ImuData
 
getGyroData() - Method in interface com.diozero.api.imu.ImuInterface
 
getHumidity() - Method in class com.diozero.BME280
 
getHumidity() - Method in class com.diozero.HTS221
 
getId() - Method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Manufacturer
 
getId() - Method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Memory
 
getId() - Method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Model
 
getId() - Method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Processor
 
getId() - Method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Revision
 
getId() - Method in enum com.diozero.W1ThermSensor.Type
 
getImuData() - Method in interface com.diozero.api.imu.ImuInterface
 
getImuName() - Method in interface com.diozero.api.imu.ImuInterface
 
getKey() - Method in class com.diozero.internal.spi.AbstractDevice
 
getKey() - Method in interface com.diozero.internal.spi.DeviceInterface
 
getLdrResistance() - Method in class com.diozero.LDR
Read the resistance across the LDR.
getLeftMotor() - Method in class com.diozero.api.motor.DualMotor
 
getLibraryPath() - Method in class com.diozero.internal.board.odroid.OdroidBoardInfoProvider.OdroidBoardInfo
 
getLibraryPath() - Method in class com.diozero.util.BoardInfo
 
getLibraryPath() - Static method in class com.diozero.util.SystemInfo
 
getLuminosity() - Method in interface com.diozero.api.LuminositySensorInterface
 
getLuminosity() - Method in class com.diozero.TSL2561
Converts the raw sensor values to the standard SI lux equivalent.
getMake() - Method in class com.diozero.util.BoardInfo
 
getMask() - Method in enum com.diozero.BME280.FilterMode
 
getMask() - Method in enum com.diozero.BME280.HumidityOversampling
 
getMask() - Method in enum com.diozero.BME280.OperatingMode
 
getMask() - Method in enum com.diozero.BME280.PressureOversampling
 
getMask() - Method in enum com.diozero.BME280.StandbyMode
 
getMask() - Method in enum com.diozero.BME280.TemperatureOversampling
 
getMemory() - Method in class com.diozero.util.BoardInfo
 
getMode() - Method in enum com.diozero.api.SpiClockMode
 
getMode() - Method in interface com.diozero.internal.spi.GpioAnalogInputDeviceInterface
 
getMode() - Method in interface com.diozero.internal.spi.GpioAnalogOutputDeviceInterface
 
getMode() - Method in interface com.diozero.internal.spi.GpioDeviceInterface
 
getMode() - Method in interface com.diozero.internal.spi.GpioDigitalInputDeviceInterface
 
getMode() - Method in interface com.diozero.internal.spi.GpioDigitalOutputDeviceInterface
 
getModel() - Method in class com.diozero.util.BoardInfo
 
getName() - Method in interface com.diozero.internal.spi.DeviceFactoryInterface
 
getName() - Method in class com.diozero.MCP23017
 
getName() - Method in class com.diozero.McpAdc
 
getName() - Method in class com.diozero.PCA9685
 
getName() - Method in class com.diozero.sandpit.PCF8591
 
getName() - Method in enum com.diozero.sandpit.PCF8591.InputMode
 
getNanoTime() - Method in class com.diozero.api.DeviceEvent
 
getNanoTime() - Method in class com.diozero.api.motor.MotorEvent
 
getNativeDeviceFactory() - Static method in class com.diozero.internal.DeviceFactoryHelper
 
getNonDaemonInstance() - Static method in class com.diozero.util.DioZeroScheduler
 
getNumPins() - Method in enum com.diozero.McpAdc.Type
 
getNumPins() - Method in class com.diozero.sandpit.PCF8591
 
getNumPins() - Method in enum com.diozero.sandpit.PCF8591.InputMode
 
getOperatingSystemId() - Static method in class com.diozero.util.SystemInfo
 
getOperatingSystemVersion() - Static method in class com.diozero.util.SystemInfo
 
getOperatingSystemVersionId() - Static method in class com.diozero.util.SystemInfo
 
getOrientation() - Method in class com.diozero.api.imu.OrientationEvent
 
getOsReleaseProperty(String) - Static method in class com.diozero.util.SystemInfo
 
getPin() - Method in class com.diozero.api.DeviceEvent
 
getPin() - Method in interface com.diozero.internal.spi.GpioDeviceInterface
 
getPin() - Method in interface com.diozero.internal.spi.PwmOutputDeviceInterface
Get the device pin number
getPinNumber() - Method in class com.diozero.api.GpioDevice
Get the GPIO pin number for this device.
getPollInterval() - Method in interface com.diozero.api.imu.ImuInterface
Get the recommended poll interval in milliseconds
getPressure() - Method in interface com.diozero.api.PressureSensorInterface
 
getPressure() - Method in class com.diozero.BME280
 
getPressure() - Method in class com.diozero.BMP180
Read the barometric pressure (in hPa) from the device.
getPressure() - Method in class com.diozero.LPS25H
 
getPressureCommand() - Method in enum com.diozero.BMP180.BMPMode
Return the pressure command to the control register for this sampling mode
getPullUpDown() - Method in class com.diozero.api.DigitalInputDevice
Get pull up / down configuration.
getPulseWidthMs() - Method in class com.diozero.sandpit.Servo
Get the current servo pulse width in milliseconds
getPwmFrequency(int) - Method in interface com.diozero.internal.spi.PwmOutputDeviceFactoryInterface
 
getPwmFrequency(int) - Method in class com.diozero.PCA9685
 
getPwmFrequency() - Method in class com.diozero.sandpit.Servo
 
getQuaternion() - Method in class com.diozero.api.imu.ImuData
 
getRam() - Method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Memory
 
getRange() - Method in enum com.diozero.McpAdc.Type
 
getResolution() - Method in enum com.diozero.McpAdc.Type
 
getRightMotor() - Method in class com.diozero.api.motor.DualMotor
 
getRowCount() - Method in class com.diozero.I2CLcd
 
getSamplingMode() - Method in enum com.diozero.BMP180.BMPMode
Return this sampling mode
getScaledValue() - Method in class com.diozero.api.AnalogInputDevice
Get the scaled value in the range 0..range (if unsigned) or -range..range (if signed)
getScaledValue() - Method in class com.diozero.api.AnalogInputEvent
Value from -range..range
getScaledValue() - Method in class com.diozero.TMP36
 
getSerialNumber() - Method in class com.diozero.W1ThermSensor
 
getShort(ByteBuffer) - Static method in class com.diozero.util.IOUtil
 
getShort(ByteBuffer, ByteOrder) - Static method in class com.diozero.util.IOUtil
 
getTemperature() - Method in class com.diozero.api.imu.ImuData
 
getTemperature() - Method in interface com.diozero.api.TemperatureSensorInterface
Get temperature in degrees celsius
getTemperature() - Method in class com.diozero.BME280
 
getTemperature() - Method in class com.diozero.BMP180
Method for reading the temperature.
getTemperature() - Method in class com.diozero.HTS221
Get temperature (degrees C).
getTemperature() - Method in class com.diozero.LPS25H
 
getTemperature() - Method in class com.diozero.TMP36
Get the current temperature in °C.
getTemperature() - Method in class com.diozero.W1ThermSensor
Get temperature in degrees celsius
getThreshold() - Method in class com.diozero.api.SmoothedInputDevice
If the number of on events younger than eventAge exceeds this amount, then 'isActive' will return 'True'.
getTimestamp() - Method in class com.diozero.api.imu.ImuData
 
getTrigger() - Method in class com.diozero.api.DigitalInputDevice
Get event trigger configuration.
getType() - Method in class com.diozero.W1ThermSensor
 
getUInt(ByteBuffer) - Static method in class com.diozero.util.IOUtil
 
getUInt(ByteBuffer, ByteOrder) - Static method in class com.diozero.util.IOUtil
 
getUInt(ByteBuffer, int) - Static method in class com.diozero.util.IOUtil
 
getUInt(ByteBuffer, int, ByteOrder) - Static method in class com.diozero.util.IOUtil
 
getUnscaledValue() - Method in class com.diozero.api.AnalogInputDevice
Get the unscaled normalised value in the range 0..1 (if unsigned) or -1..1 (if signed)
getUnscaledValue() - Method in class com.diozero.api.AnalogInputEvent
Value from -1..1
getUShort(ByteBuffer) - Static method in class com.diozero.util.IOUtil
 
getUShort(ByteBuffer, ByteOrder) - Static method in class com.diozero.util.IOUtil
 
getVal() - Method in enum com.diozero.api.imu.TapEvent.TapAxisType
 
getValue() - Method in class com.diozero.api.DigitalInputDevice
Read the current underlying state of the input pin.
getValue() - Method in class com.diozero.api.DigitalInputEvent
Returns the underlying GPIO state.
getValue() - Method in class com.diozero.api.motor.DigitalMotor
Represents the speed of the motor as a floating point value between -1 (full speed backward) and 1 (full speed forward)
getValue() - Method in class com.diozero.api.motor.Motor
Represents the speed of the motor as a floating point value between -1 (full speed backward) and 1 (full speed forward)
getValue() - Method in class com.diozero.api.motor.MotorEvent
 
getValue() - Method in interface com.diozero.api.motor.MotorInterface
 
getValue() - Method in class com.diozero.api.PwmOutputDevice
Get the current PWM output value (0..1).
getValue() - Method in interface com.diozero.internal.spi.GpioAnalogInputDeviceInterface
 
getValue() - Method in interface com.diozero.internal.spi.GpioDigitalInputDeviceInterface
 
getValue() - Method in interface com.diozero.internal.spi.GpioDigitalOutputDeviceInterface
 
getValue() - Method in interface com.diozero.internal.spi.PwmOutputDeviceInterface
Get the current PWM output value (0..1)
getValue(int) - Method in class com.diozero.MCP23017
 
getValue(int) - Method in class com.diozero.McpAdc
Read the analog value in the range 0..1 or -1..1 (if the ADC type is signed)
getValue(int) - Method in class com.diozero.PCA9685
 
getValue(int) - Method in class com.diozero.sandpit.PCF8591
Read the analog value in the range 0..1
getValue() - Method in class com.diozero.sandpit.TB6612FNGMotor
Represents the speed of the motor as a floating point value between -1 (full speed backward) and 1 (full speed forward)
getValue() - Method in class com.diozero.util.MutableByte
 
getValues() - Method in class com.diozero.api.motor.DualMotor
 
getValues() - Method in class com.diozero.BME280
 
getValues() - Method in class com.diozero.RgbLed
Get the state of all LEDs.
getValues() - Method in class com.diozero.RgbPwmLed
Get the value of all LEDs.
getVoltage() - Method in class com.diozero.Potentiometer
 
go() - Method in class com.diozero.sampleapps.CamJamLineFollower
 
go() - Method in class com.diozero.sampleapps.CamJamRobot
 
GP2Y0A21YK - Class in com.diozero
Sharp GP2Y0A21YK distance sensor.
GP2Y0A21YK(int, float) - Constructor for class com.diozero.GP2Y0A21YK
 
GP2Y0A21YK(AnalogInputDeviceFactoryInterface, int, float) - Constructor for class com.diozero.GP2Y0A21YK
 
GP2Y0A21YKApp - Class in com.diozero.sampleapps
Sample application for reading LDR analog values.
GP2Y0A21YKApp() - Constructor for class com.diozero.sampleapps.GP2Y0A21YKApp
 
GpioAnalogInputDeviceInterface - Interface in com.diozero.internal.spi
 
GpioAnalogOutputDeviceInterface - Interface in com.diozero.internal.spi
 
GpioDevice - Class in com.diozero.api
Abstract base class for all GPIO related devices.
GpioDevice(int) - Constructor for class com.diozero.api.GpioDevice
 
GpioDeviceFactoryInterface - Interface in com.diozero.internal.spi
 
GpioDeviceInterface - Interface in com.diozero.internal.spi
 
GpioDeviceInterface.Mode - Enum in com.diozero.internal.spi
 
GpioDigitalInputDeviceInterface - Interface in com.diozero.internal.spi
 
GpioDigitalOutputDeviceInterface - Interface in com.diozero.internal.spi
 
GpioEventTrigger - Enum in com.diozero.api
 
GpioInputDevice<T extends DeviceEvent> - Class in com.diozero.api
Common base class for digital and analog input devices.
GpioInputDevice(int) - Constructor for class com.diozero.api.GpioInputDevice
 
GpioPerfTest - Class in com.diozero.sampleapps
GPIO output performance test application.
GpioPerfTest() - Constructor for class com.diozero.sampleapps.GpioPerfTest
 
GpioPullUpDown - Enum in com.diozero.api
 

H

hasAccelerometer() - Method in interface com.diozero.api.imu.ImuInterface
 
hasCompass() - Method in interface com.diozero.api.imu.ImuInterface
 
hasGyro() - Method in interface com.diozero.api.imu.ImuInterface
 
HCSR04 - Class in com.diozero
User's manual: https://docs.google.com/document/d/1Y-yZnNhMYy7rwhAgyL_pfa39RsB-x2qR4vP8saG73rE/edit# Product specification: http://www.micropik.com/PDF/HCSR04.pdf Provides 2cm - 400cm non-contact measurement function, the ranging accuracy can reach to 3mm You only need to supply a short 10uS pulse to the trigger input to start the ranging, and then the module will send out an 8 cycle burst of ultrasound at 40 kHz and raise its echo.
HCSR04(int, int) - Constructor for class com.diozero.HCSR04
Initialise GPIO to echo and trigger pins
HCSR04Test - Class in com.diozero.sampleapps
HC-SR04 distance sensor sample application.
HCSR04Test() - Constructor for class com.diozero.sampleapps.HCSR04Test
 
HCSR04UsingEvents - Class in com.diozero.sandpit
Note this version doesn't work as well as the event-based HCSR04UsingEvents version as the ns event timings aren't from the raw device unfortunately, only as they get processed in Java User's manual: https://docs.google.com/document/d/1Y-yZnNhMYy7rwhAgyL_pfa39RsB-x2qR4vP8saG73rE/edit# Product specification: http://www.micropik.com/PDF/HCSR04.pdf Provides 2cm - 400cm non-contact measurement function, the ranging accuracy can reach to 3mm You only need to supply a short 10uS pulse to the trigger input to start the ranging, and then the module will send out an 8 cycle burst of ultrasound at 40 kHz and raise its echo.
HCSR04UsingEvents(int, int) - Constructor for class com.diozero.sandpit.HCSR04UsingEvents
Initialise GPIO to echo and trigger pins
HCSR04UsingWait - Class in com.diozero.sandpit
User's manual: https://docs.google.com/document/d/1Y-yZnNhMYy7rwhAgyL_pfa39RsB-x2qR4vP8saG73rE/edit# Product specification: http://www.micropik.com/PDF/HCSR04.pdf Provides 2cm - 400cm non-contact measurement function, the ranging accuracy can reach to 3mm You only need to supply a short 10uS pulse to the trigger input to start the ranging, and then the module will send out an 8 cycle burst of ultrasound at 40 kHz and raise its echo.
HCSR04UsingWait(int, int) - Constructor for class com.diozero.sandpit.HCSR04UsingWait
Initialise GPIO to echo and trigger pins
HTS221 - Class in com.diozero
STMicroelectronics HTS221 "ultra compact sensor for relative humidity and temperature".
HTS221() - Constructor for class com.diozero.HTS221
 
HTS221(int, int) - Constructor for class com.diozero.HTS221
 
HTS221App - Class in com.diozero.sampleapps
HTS221 sample application.
HTS221App() - Constructor for class com.diozero.sampleapps.HTS221App
 

I

I2CConstants - Interface in com.diozero.api
 
I2CDevice - Class in com.diozero.api
Utility class reading / writing to I2C devices.
I2CDevice(int, int, int, int) - Constructor for class com.diozero.api.I2CDevice
 
I2CDevice(int, int, int, int, ByteOrder) - Constructor for class com.diozero.api.I2CDevice
 
I2CDevice(I2CDeviceFactoryInterface, int, int, int, int, ByteOrder) - Constructor for class com.diozero.api.I2CDevice
 
I2CDeviceFactoryInterface - Interface in com.diozero.internal.spi
 
I2CDeviceInterface - Interface in com.diozero.internal.spi
 
I2CLcd - Class in com.diozero
I2CLcd(int, int) - Constructor for class com.diozero.I2CLcd
 
I2CLcd(int, int, int) - Constructor for class com.diozero.I2CLcd
 
I2CLcd(int, int, ByteOrder, int, int) - Constructor for class com.diozero.I2CLcd
 
I2CLcdSampleApp16x2 - Class in com.diozero.sampleapps
I2C LCD sample application.
I2CLcdSampleApp16x2() - Constructor for class com.diozero.sampleapps.I2CLcdSampleApp16x2
 
I2CLcdSampleApp20x4 - Class in com.diozero.sampleapps
I2C LCD sample application.
I2CLcdSampleApp20x4() - Constructor for class com.diozero.sampleapps.I2CLcdSampleApp20x4
 
I2CLcdSampleAppInteractive - Class in com.diozero.sampleapps
 
I2CLcdSampleAppInteractive() - Constructor for class com.diozero.sampleapps.I2CLcdSampleAppInteractive
 
ImuBase - Class in com.diozero.api.imu
 
ImuBase() - Constructor for class com.diozero.api.imu.ImuBase
 
ImuData - Class in com.diozero.api.imu
 
ImuData(Vector3D, Vector3D, Quaternion, Vector3D, float, long) - Constructor for class com.diozero.api.imu.ImuData
 
ImuInterface - Interface in com.diozero.api.imu
 
INFINITE_ITERATIONS - Static variable in class com.diozero.api.DigitalOutputDevice
 
INFINITE_ITERATIONS - Static variable in class com.diozero.api.PwmOutputDevice
 
InOutTest - Class in com.diozero.sampleapps
Test switching between input and output modes.
InOutTest() - Constructor for class com.diozero.sampleapps.InOutTest
 
InputEventListener<T extends DeviceEvent> - Interface in com.diozero.api
 
InputWaitTest - Class in com.diozero.sampleapps
Input test application.
InputWaitTest() - Constructor for class com.diozero.sampleapps.InputWaitTest
 
invokeAtFixedRate(Supplier<Float>, Consumer<Float>, long, long, TimeUnit) - Method in class com.diozero.util.DioZeroScheduler
 
IOUtil - Class in com.diozero.util
 
IOUtil() - Constructor for class com.diozero.util.IOUtil
 
isActive() - Method in class com.diozero.api.DigitalInputDevice
Read the current on/off state for this device taking into account the pull up / down configuration.
isActive() - Method in class com.diozero.api.DigitalInputEvent
 
isActive() - Method in class com.diozero.api.motor.DigitalMotor
 
isActive() - Method in class com.diozero.api.motor.Motor
 
isActive() - Method in interface com.diozero.api.motor.MotorInterface
 
isActive() - Method in class com.diozero.sandpit.TB6612FNGMotor
 
isActiveHigh() - Method in class com.diozero.api.DigitalInputDevice
Get active high configuration.
isBacklightOn() - Method in class com.diozero.I2CLcd
 
isBitSet(byte, byte) - Static method in class com.diozero.util.BitManipulation
 
isBitSet(byte) - Method in class com.diozero.util.MutableByte
 
isBlinkEnabled() - Method in class com.diozero.I2CLcd
 
isCursorEnabled() - Method in class com.diozero.I2CLcd
 
isDeviceOpened(String) - Method in class com.diozero.internal.spi.AbstractDeviceFactory
 
isDeviceOpened(String) - Method in interface com.diozero.internal.spi.DeviceFactoryInterface
 
isIncrementOn() - Method in class com.diozero.I2CLcd
 
isLit() - Method in class com.diozero.LED
Return true if the LED is currently on.
isLit() - Method in class com.diozero.PwmLed
Return true if the PWM value is >0.
isModel33() - Method in enum com.diozero.McpAdc.Type
 
isModel3301() - Method in enum com.diozero.McpAdc.Type
 
isOn() - Method in class com.diozero.api.DigitalOutputDevice
Get the device on / off status.
isOn() - Method in class com.diozero.api.PwmOutputDevice
Get the device on / off status.
isOpen() - Method in class com.diozero.api.I2CDevice
 
isOpen() - Method in class com.diozero.internal.spi.AbstractDevice
 
isOpen() - Method in interface com.diozero.internal.spi.DeviceInterface
 
isOpened(String) - Method in class com.diozero.internal.DeviceStates
 
isPressed() - Method in class com.diozero.Button
Get the current state.
isReleased() - Method in class com.diozero.Button
Get the current state.
isShiftDisplayOn() - Method in class com.diozero.I2CLcd
 
isSigned() - Method in enum com.diozero.McpAdc.Type
 
isSupported(GpioDeviceInterface.Mode, int) - Method in class com.diozero.internal.board.odroid.OdroidBoardInfoProvider.OdroidBoardInfo
 
isSupported(GpioDeviceInterface.Mode, int) - Method in class com.diozero.util.BoardInfo
 
isValidId(String) - Static method in enum com.diozero.W1ThermSensor.Type
 

L

LDR - Class in com.diozero
LDR(int, float, float) - Constructor for class com.diozero.LDR
 
LDR(AnalogInputDeviceFactoryInterface, int, float, float) - Constructor for class com.diozero.LDR
 
LdrControlledLed - Class in com.diozero.sampleapps
Control the brightness of an LED by the luminosity detected of an LDR.
LdrControlledLed() - Constructor for class com.diozero.sampleapps.LdrControlledLed
 
LDRListenerTest - Class in com.diozero.sampleapps
Sample application to illustrate listening for changes to analog values.
LDRListenerTest() - Constructor for class com.diozero.sampleapps.LDRListenerTest
 
LDRTest - Class in com.diozero.sampleapps
Sample application for reading LDR analog values.
LDRTest() - Constructor for class com.diozero.sampleapps.LDRTest
 
LED - Class in com.diozero
Provides utility methods for controlling a Light Emitting Diode (LED).
LED(int) - Constructor for class com.diozero.LED
 
LED(int, boolean) - Constructor for class com.diozero.LED
 
LED(GpioDeviceFactoryInterface, int) - Constructor for class com.diozero.LED
 
LED(GpioDeviceFactoryInterface, int, boolean, boolean) - Constructor for class com.diozero.LED
 
LEDTest - Class in com.diozero.sampleapps
LED sample application.
LEDTest() - Constructor for class com.diozero.sampleapps.LEDTest
 
LibraryLoader - Class in com.diozero.util
 
LibraryLoader() - Constructor for class com.diozero.util.LibraryLoader
 
listeners - Variable in class com.diozero.api.GpioInputDevice
 
loadLibrary(Class<?>, String) - Static method in class com.diozero.util.LibraryLoader
 
lookup(String) - Method in class com.diozero.internal.board.odroid.OdroidBoardInfoProvider
 
lookup(String) - Method in class com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider
 
lookup(String) - Method in interface com.diozero.util.BoardInfoProvider
 
lookupBoardInfo(String) - Static method in class com.diozero.util.SystemInfo
 
LPS25H - Class in com.diozero
STMicroelectronics LPS25H "ultra compact absolute piezoresistive pressure sensor".
LPS25H() - Constructor for class com.diozero.LPS25H
 
LPS25H(int, int) - Constructor for class com.diozero.LPS25H
 
LPS25HApp - Class in com.diozero.sampleapps
LP25H sample application.
LPS25HApp() - Constructor for class com.diozero.sampleapps.LPS25HApp
 
LuminositySensorInterface - Interface in com.diozero.api
 

M

main(String[]) - Static method in class com.diozero.sampleapps.BME280Test
 
main(String[]) - Static method in class com.diozero.sampleapps.BMP180Test
 
main(String[]) - Static method in class com.diozero.sampleapps.ButtonControlledLed
 
main(String[]) - Static method in class com.diozero.sampleapps.ButtonTest
 
main(String[]) - Static method in class com.diozero.sampleapps.CamJamLineFollower
 
main(String[]) - Static method in class com.diozero.sampleapps.CamJamRobot
 
main(String[]) - Static method in class com.diozero.sampleapps.GP2Y0A21YKApp
 
main(String[]) - Static method in class com.diozero.sampleapps.GpioPerfTest
 
main(String[]) - Static method in class com.diozero.sampleapps.HCSR04Test
 
main(String[]) - Static method in class com.diozero.sampleapps.HTS221App
 
main(String[]) - Static method in class com.diozero.sampleapps.I2CLcdSampleApp16x2
 
main(String[]) - Static method in class com.diozero.sampleapps.I2CLcdSampleApp20x4
 
main(String[]) - Static method in class com.diozero.sampleapps.I2CLcdSampleAppInteractive
 
main(String[]) - Static method in class com.diozero.sampleapps.InOutTest
 
main(String[]) - Static method in class com.diozero.sampleapps.InputWaitTest
 
main(String[]) - Static method in class com.diozero.sampleapps.LdrControlledLed
 
main(String[]) - Static method in class com.diozero.sampleapps.LDRListenerTest
 
main(String[]) - Static method in class com.diozero.sampleapps.LDRTest
 
main(String[]) - Static method in class com.diozero.sampleapps.LEDTest
 
main(String[]) - Static method in class com.diozero.sampleapps.LPS25HApp
 
main(String[]) - Static method in class com.diozero.sampleapps.MCP23017PerfTest
 
main(String[]) - Static method in class com.diozero.sampleapps.MCP23017Test
 
main(String[]) - Static method in class com.diozero.sampleapps.McpAdcTest
 
main(String[]) - Static method in class com.diozero.sampleapps.MotionTest
 
main(String[]) - Static method in class com.diozero.sampleapps.PCA9685ServoTest
 
main(String[]) - Static method in class com.diozero.sampleapps.PotentiometerTest
 
main(String[]) - Static method in class com.diozero.sampleapps.PwmLedTest
 
main(String[]) - Static method in class com.diozero.sampleapps.PwmTest
 
main(String[]) - Static method in class com.diozero.sampleapps.RandomLedFlicker
 
main(String[]) - Static method in class com.diozero.sampleapps.RgbLedTest
 
main(String[]) - Static method in class com.diozero.sampleapps.RgbPwmLedTest
 
main(String[]) - Static method in class com.diozero.sampleapps.ServoTest
 
main(String[]) - Static method in class com.diozero.sampleapps.SoftwarePwmTest
 
main(String[]) - Static method in class com.diozero.sampleapps.TMP36Test
 
main(String[]) - Static method in class com.diozero.sampleapps.TSL2561Test
 
main(String[]) - Static method in class com.diozero.sampleapps.W1ThermSensorApp
 
main(String[]) - Static method in class com.diozero.sandpit.EpollTest
 
main(String[]) - Static method in class com.diozero.sandpit.HCSR04UsingEvents
 
main(String[]) - Static method in class com.diozero.sandpit.HCSR04UsingWait
 
main(String[]) - Static method in class com.diozero.sandpit.MFRC522Test
 
main(String[]) - Static method in class com.diozero.sandpit.PCF8591App
 
main(String[]) - Static method in class com.diozero.sandpit.PollTest
 
main(String[]) - Static method in class com.diozero.util.SleepUtil
 
main(String[]) - Static method in class com.diozero.util.SystemInfo
 
MAKE - Static variable in class com.diozero.internal.board.odroid.OdroidBoardInfoProvider
 
MAKE - Static variable in class com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider
 
MCP23017 - Class in com.diozero
MCP23017() - Constructor for class com.diozero.MCP23017
 
MCP23017(int) - Constructor for class com.diozero.MCP23017
 
MCP23017(int, int) - Constructor for class com.diozero.MCP23017
 
MCP23017(int, int, int) - Constructor for class com.diozero.MCP23017
 
MCP23017(int, int, int, int) - Constructor for class com.diozero.MCP23017
 
MCP23017PerfTest - Class in com.diozero.sampleapps
MCP23017 performance test application.
MCP23017PerfTest() - Constructor for class com.diozero.sampleapps.MCP23017PerfTest
 
MCP23017Test - Class in com.diozero.sampleapps
MCP23017 sample application.
MCP23017Test() - Constructor for class com.diozero.sampleapps.MCP23017Test
 
MCP3001 - Static variable in class com.diozero.McpAdc
 
MCP3002 - Static variable in class com.diozero.McpAdc
 
MCP3004 - Static variable in class com.diozero.McpAdc
 
MCP3008 - Static variable in class com.diozero.McpAdc
 
MCP3201 - Static variable in class com.diozero.McpAdc
 
MCP3202 - Static variable in class com.diozero.McpAdc
 
MCP3204 - Static variable in class com.diozero.McpAdc
 
MCP3208 - Static variable in class com.diozero.McpAdc
 
MCP3301 - Static variable in class com.diozero.McpAdc
 
MCP3302 - Static variable in class com.diozero.McpAdc
 
MCP3304 - Static variable in class com.diozero.McpAdc
 
McpAdc - Class in com.diozero
 
McpAdc(McpAdc.Type, int) - Constructor for class com.diozero.McpAdc
 
McpAdc(McpAdc.Type, int, int) - Constructor for class com.diozero.McpAdc
 
McpAdc.Type - Enum in com.diozero
The MCP3204/3208 devices offer the choice of using the analog input channels configured as single-ended inputs or pseudo-differential pairs.
McpAdcTest - Class in com.diozero.sampleapps
MCP3xxx sample application.
McpAdcTest() - Constructor for class com.diozero.sampleapps.McpAdcTest
 
MemoryInspector - Class in com.diozero.util
 
MemoryInspector() - Constructor for class com.diozero.util.MemoryInspector
 
MFRC522 - Class in com.diozero.sandpit
Datasheet: http://www.nxp.com/documents/data_sheet/MFRC522.pdf Example Python code: https://github.com/mxgxw/MFRC522-python/blob/master/MFRC522.py Work-in-progress!
MFRC522(int, int) - Constructor for class com.diozero.sandpit.MFRC522
 
MFRC522Test - Class in com.diozero.sandpit
Control an LED with a button.
MFRC522Test() - Constructor for class com.diozero.sandpit.MFRC522Test
 
MI_ERR - Static variable in class com.diozero.sandpit.MFRC522
 
MI_NOTAGERR - Static variable in class com.diozero.sandpit.MFRC522
 
MI_OK - Static variable in class com.diozero.sandpit.MFRC522
 
MotionSensor - Class in com.diozero.sandpit
A Passive Infra-Red (PIR) motion sensor.
MotionSensor(int) - Constructor for class com.diozero.sandpit.MotionSensor
Defaults 'threshold' to 1, eventAge t0 20ms and eventDetectPeriod to 10ms.
MotionSensor(int, int, int, int) - Constructor for class com.diozero.sandpit.MotionSensor
 
MotionSensor(int, GpioPullUpDown, int, int, int) - Constructor for class com.diozero.sandpit.MotionSensor
 
MotionTest - Class in com.diozero.sampleapps
 
Motor - Class in com.diozero.api.motor
Generic bi-directional motor controlled by separate forward / backward PWM output pins
Motor(int, int) - Constructor for class com.diozero.api.motor.Motor
 
Motor(PwmOutputDeviceFactoryInterface, int, int) - Constructor for class com.diozero.api.motor.Motor
 
MotorBase - Class in com.diozero.api.motor
 
MotorBase() - Constructor for class com.diozero.api.motor.MotorBase
 
MotorEvent - Class in com.diozero.api.motor
 
MotorEvent(long, long, float) - Constructor for class com.diozero.api.motor.MotorEvent
 
MotorInterface - Interface in com.diozero.api.motor
 
MotorListener - Interface in com.diozero.api.motor
 
moveCursorLeft() - Method in class com.diozero.I2CLcd
 
moveCursorRight() - Method in class com.diozero.I2CLcd
 
MQTT_QOS_AT_LEAST_ONCE - Static variable in interface com.diozero.api.imu.MqttConstants
 
MQTT_QOS_AT_MOST_ONCE - Static variable in interface com.diozero.api.imu.MqttConstants
 
MQTT_QOS_ONCE - Static variable in interface com.diozero.api.imu.MqttConstants
 
MQTT_SERVER_OPTION - Static variable in interface com.diozero.api.imu.MqttConstants
 
MQTT_TOPIC_ACCEL - Static variable in interface com.diozero.api.imu.MqttConstants
 
MQTT_TOPIC_COMPASS - Static variable in interface com.diozero.api.imu.MqttConstants
 
MQTT_TOPIC_EULER_ANGLE - Static variable in interface com.diozero.api.imu.MqttConstants
 
MQTT_TOPIC_GYRO - Static variable in interface com.diozero.api.imu.MqttConstants
 
MQTT_TOPIC_IMU - Static variable in interface com.diozero.api.imu.MqttConstants
 
MQTT_TOPIC_QUAT - Static variable in interface com.diozero.api.imu.MqttConstants
 
MqttConstants - Interface in com.diozero.api.imu
 
MS_IN_SEC - Static variable in class com.diozero.util.SleepUtil
 
MutableByte - Class in com.diozero.util
 
MutableByte() - Constructor for class com.diozero.util.MutableByte
 
MutableByte(byte) - Constructor for class com.diozero.util.MutableByte
 

N

NativeDeviceFactoryInterface - Interface in com.diozero.internal.spi
 
notify(int, long) - Method in interface com.diozero.util.PollEventListener
 
NS_IN_MS - Static variable in class com.diozero.util.SleepUtil
 
NS_IN_SEC - Static variable in class com.diozero.util.SleepUtil
 
NS_IN_US - Static variable in class com.diozero.util.SleepUtil
 

O

OdroidBoardInfo(OdroidBoardInfoProvider.Model, int) - Constructor for class com.diozero.internal.board.odroid.OdroidBoardInfoProvider.OdroidBoardInfo
 
OdroidBoardInfoProvider - Class in com.diozero.internal.board.odroid
 
OdroidBoardInfoProvider() - Constructor for class com.diozero.internal.board.odroid.OdroidBoardInfoProvider
 
OdroidBoardInfoProvider.Model - Enum in com.diozero.internal.board.odroid
 
OdroidBoardInfoProvider.OdroidBoardInfo - Class in com.diozero.internal.board.odroid
 
OdroidBoardInfoProvider.OdroidC2BoardInfo - Class in com.diozero.internal.board.odroid
OdroidC2BoardInfo(int) - Constructor for class com.diozero.internal.board.odroid.OdroidBoardInfoProvider.OdroidC2BoardInfo
 
off() - Method in class com.diozero.api.DigitalOutputDevice
Turn off the device.
off() - Method in class com.diozero.api.PwmOutputDevice
Turn off the device (same as setValue(0)).
off() - Method in class com.diozero.RgbLed
Turn all LEDs off.
off() - Method in class com.diozero.RgbPwmLed
Turn all LEDs off.
on() - Method in class com.diozero.api.DigitalOutputDevice
Turn on the device.
on() - Method in class com.diozero.api.PwmOutputDevice
Turn on the device (same as setValue(1)).
on() - Method in class com.diozero.RgbLed
Turn all LEDs on.
on() - Method in class com.diozero.RgbPwmLed
Turn all LEDs on.
onOffLoop(float, float, int, boolean) - Method in class com.diozero.api.DigitalOutputDevice
Toggle the device on-off.
onOffLoop(float, float, int, boolean) - Method in class com.diozero.api.PwmOutputDevice
 
opened(DeviceInterface) - Method in class com.diozero.internal.DeviceStates
 
ORDOID_C2 - Static variable in class com.diozero.internal.board.odroid.OdroidBoardInfoProvider
 
OrientationEvent - Class in com.diozero.api.imu
 
OrientationEvent(OrientationEvent.OrientationType) - Constructor for class com.diozero.api.imu.OrientationEvent
 
OrientationEvent.OrientationType - Enum in com.diozero.api.imu
 
OrientationListener - Interface in com.diozero.api.imu
 

P

pad(String, int) - Static method in class com.diozero.util.StringUtil
 
pause() - Static method in class com.diozero.util.SleepUtil
 
PCA9685 - Class in com.diozero
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
PCA9685(int) - Constructor for class com.diozero.PCA9685
 
PCA9685(int, int, int) - Constructor for class com.diozero.PCA9685
 
PCA9685ServoTest - Class in com.diozero.sampleapps
PCA9685 sample application.
PCA9685ServoTest() - Constructor for class com.diozero.sampleapps.PCA9685ServoTest
 
PCF8591 - Class in com.diozero.sandpit
PCF8591() - Constructor for class com.diozero.sandpit.PCF8591
 
PCF8591(int, int, PCF8591.InputMode, boolean) - Constructor for class com.diozero.sandpit.PCF8591
 
PCF8591.InputMode - Enum in com.diozero.sandpit
 
PCF8591App - Class in com.diozero.sandpit
PCF8591 sample application.
PCF8591App() - Constructor for class com.diozero.sandpit.PCF8591App
 
PiABPlusBoardInfo(RaspberryPiBoardInfoProvider.Model, RaspberryPiBoardInfoProvider.Revision, RaspberryPiBoardInfoProvider.Memory, RaspberryPiBoardInfoProvider.Manufacturer, RaspberryPiBoardInfoProvider.Processor) - Constructor for class com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.PiABPlusBoardInfo
 
PiABRev2BoardInfo(RaspberryPiBoardInfoProvider.Model, RaspberryPiBoardInfoProvider.Memory, RaspberryPiBoardInfoProvider.Manufacturer) - Constructor for class com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.PiABRev2BoardInfo
 
PiBRev1BoardInfo(RaspberryPiBoardInfoProvider.Revision, RaspberryPiBoardInfoProvider.Memory, RaspberryPiBoardInfoProvider.Manufacturer) - Constructor for class com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.PiBRev1BoardInfo
 
PICC_ANTICOLL - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_AUTHENT1A - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_AUTHENT1B - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_DECREMENT - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_HALT - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_INCREMENT - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_READ - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_REQALL - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_REQIDL - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_RESTORE - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_SElECTTAG - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_TRANSFER - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_WRITE - Static variable in class com.diozero.sandpit.MFRC522
 
PiComputeModuleBoardInfo(RaspberryPiBoardInfoProvider.Memory, RaspberryPiBoardInfoProvider.Manufacturer, RaspberryPiBoardInfoProvider.Processor) - Constructor for class com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.PiComputeModuleBoardInfo
 
pinNumber - Variable in class com.diozero.api.GpioDevice
 
poll(String, int, int, PollEventListener) - Method in class com.diozero.util.PollNative
 
PollEventListener - Interface in com.diozero.util
 
PollNative - Class in com.diozero.util
 
PollNative() - Constructor for class com.diozero.util.PollNative
 
PollTest - Class in com.diozero.sandpit
 
PollTest() - Constructor for class com.diozero.sandpit.PollTest
 
Potentiometer - Class in com.diozero
Supports taking readings from a potentiometer.
Potentiometer(int, float) - Constructor for class com.diozero.Potentiometer
 
Potentiometer(AnalogInputDeviceFactoryInterface, int, float) - Constructor for class com.diozero.Potentiometer
 
PotentiometerTest - Class in com.diozero.sampleapps
Potentiometer sample application.
PotentiometerTest() - Constructor for class com.diozero.sampleapps.PotentiometerTest
 
PressureSensorInterface - Interface in com.diozero.api
 
processData() - Method in class com.diozero.api.imu.ImuBase
 
provisionAnalogInputPin(int) - Method in interface com.diozero.internal.spi.AnalogInputDeviceFactoryInterface
 
provisionAnalogInputPin(int) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
provisionAnalogInputPin(int) - Method in class com.diozero.McpAdc
Device Factory SPI method
provisionAnalogInputPin(int) - Method in class com.diozero.sandpit.PCF8591
 
provisionAnalogOutputPin(int) - Method in interface com.diozero.internal.spi.AnalogOutputDeviceFactoryInterface
 
provisionAnalogOutputPin(int) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
provisionAnalogOutputPin(int) - Method in class com.diozero.sandpit.PCF8591
 
provisionDigitalInputPin(int, GpioPullUpDown, GpioEventTrigger) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
provisionDigitalInputPin(int, GpioPullUpDown, GpioEventTrigger) - Method in interface com.diozero.internal.spi.GpioDeviceFactoryInterface
 
provisionDigitalInputPin(int, GpioPullUpDown, GpioEventTrigger) - Method in class com.diozero.MCP23017
 
provisionDigitalOutputPin(int, boolean) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
provisionDigitalOutputPin(int, boolean) - Method in interface com.diozero.internal.spi.GpioDeviceFactoryInterface
 
provisionDigitalOutputPin(int, boolean) - Method in class com.diozero.MCP23017
 
provisionI2CDevice(int, int, int, int) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
provisionI2CDevice(int, int, int, int) - Method in interface com.diozero.internal.spi.I2CDeviceFactoryInterface
 
provisionPwmOutputPin(int, float) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
provisionPwmOutputPin(int, float) - Method in interface com.diozero.internal.spi.PwmOutputDeviceFactoryInterface
 
provisionPwmOutputPin(int, float) - Method in class com.diozero.PCA9685
 
provisionSpiDevice(int, int, int, SpiClockMode) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
provisionSpiDevice(int, int, int, SpiClockMode) - Method in interface com.diozero.internal.spi.SpiDeviceFactoryInterface
 
pulse() - Method in class com.diozero.PwmLed
Pulse the LED on and off indefinitely.
pulse(float, int, int, boolean) - Method in class com.diozero.PwmLed
Pulse the LED on and off repeatedly.
PwmLed - Class in com.diozero
PWM controlled LED.
PwmLed(int) - Constructor for class com.diozero.PwmLed
 
PwmLed(int, float) - Constructor for class com.diozero.PwmLed
 
PwmLed(PwmOutputDeviceFactoryInterface, int) - Constructor for class com.diozero.PwmLed
 
PwmLed(PwmOutputDeviceFactoryInterface, int, float) - Constructor for class com.diozero.PwmLed
 
PwmLedTest - Class in com.diozero.sampleapps
PWM LED sample application.
PwmLedTest() - Constructor for class com.diozero.sampleapps.PwmLedTest
 
PwmOutputDevice - Class in com.diozero.api
Provide generic Pulse Width Modulation (PWM) output control.
PwmOutputDevice(int) - Constructor for class com.diozero.api.PwmOutputDevice
 
PwmOutputDevice(int, float) - Constructor for class com.diozero.api.PwmOutputDevice
 
PwmOutputDevice(PwmOutputDeviceFactoryInterface, int, float) - Constructor for class com.diozero.api.PwmOutputDevice
 
PwmOutputDeviceFactoryInterface - Interface in com.diozero.internal.spi
 
PwmOutputDeviceInterface - Interface in com.diozero.internal.spi
 
PwmTest - Class in com.diozero.sampleapps
PWM output sample application.
PwmTest() - Constructor for class com.diozero.sampleapps.PwmTest
 
PwmType - Enum in com.diozero.api
 

R

RandomLedFlicker - Class in com.diozero.sampleapps
LED random flicker using PWM.
RandomLedFlicker() - Constructor for class com.diozero.sampleapps.RandomLedFlicker
 
RaspberryPiBoardInfoProvider - Class in com.diozero.internal.board.raspberrypi
RaspberryPiBoardInfoProvider() - Constructor for class com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider
 
RaspberryPiBoardInfoProvider.Manufacturer - Enum in com.diozero.internal.board.raspberrypi
 
RaspberryPiBoardInfoProvider.Memory - Enum in com.diozero.internal.board.raspberrypi
 
RaspberryPiBoardInfoProvider.Model - Enum in com.diozero.internal.board.raspberrypi
 
RaspberryPiBoardInfoProvider.PiABPlusBoardInfo - Class in com.diozero.internal.board.raspberrypi
 
RaspberryPiBoardInfoProvider.PiABRev2BoardInfo - Class in com.diozero.internal.board.raspberrypi
 
RaspberryPiBoardInfoProvider.PiBRev1BoardInfo - Class in com.diozero.internal.board.raspberrypi
 
RaspberryPiBoardInfoProvider.PiComputeModuleBoardInfo - Class in com.diozero.internal.board.raspberrypi
 
RaspberryPiBoardInfoProvider.Processor - Enum in com.diozero.internal.board.raspberrypi
 
RaspberryPiBoardInfoProvider.Revision - Enum in com.diozero.internal.board.raspberrypi
 
read(int, int) - Method in class com.diozero.api.I2CDevice
 
read(int, ByteBuffer) - Method in class com.diozero.api.I2CDevice
 
read(int, int, ByteBuffer) - Method in class com.diozero.api.I2CDevice
 
read(int, int, int) - Method in class com.diozero.api.I2CDevice
 
read(ByteBuffer) - Method in class com.diozero.api.I2CDevice
 
read(int) - Method in class com.diozero.api.I2CDevice
 
read(int, int, ByteBuffer) - Method in interface com.diozero.internal.spi.I2CDeviceInterface
 
read(ByteBuffer) - Method in interface com.diozero.internal.spi.I2CDeviceInterface
 
readBit(int, int) - Method in class com.diozero.api.I2CDevice
Read a single bit from an 8-bit device register.
readBits(int, int, int) - Method in class com.diozero.api.I2CDevice
Read multiple bits from an 8-bit device register.
readByte(int) - Method in class com.diozero.api.I2CDevice
Read single byte from an 8-bit device register.
readByte(int, int) - Method in class com.diozero.api.I2CDevice
 
readByte() - Method in class com.diozero.api.I2CDevice
 
readBytes(int, int) - Method in class com.diozero.api.I2CDevice
Read multiple bytes from an 8-bit device register.
readCalibrationData() - Method in class com.diozero.BMP180
This method reads the calibration data common for the Temperature sensor and Barometer sensor included in the BMP180
readShort(int) - Method in class com.diozero.api.I2CDevice
 
readShort(int, int) - Method in class com.diozero.api.I2CDevice
 
readShort(int, int, ByteOrder) - Method in class com.diozero.api.I2CDevice
 
readUByte(int) - Method in class com.diozero.api.I2CDevice
 
readUInt(int, int, int) - Method in class com.diozero.api.I2CDevice
 
readUInt(int, int, int, ByteOrder) - Method in class com.diozero.api.I2CDevice
 
readUShort(int) - Method in class com.diozero.api.I2CDevice
 
readUShort(int, int) - Method in class com.diozero.api.I2CDevice
 
readUShort(int, int, ByteOrder) - Method in class com.diozero.api.I2CDevice
 
removeAllListeners() - Method in class com.diozero.api.GpioInputDevice
Remove all listeners.
removeFile(int, int) - Static method in class com.diozero.util.EpollNative
 
removeListener(InputEventListener<T>) - Method in class com.diozero.api.GpioInputDevice
Remove a specific listener.
removeListener(MotorListener) - Method in class com.diozero.api.motor.MotorBase
 
removeListener(MotorListener) - Method in interface com.diozero.api.motor.MotorInterface
 
removeListener() - Method in class com.diozero.internal.spi.AbstractInputDevice
 
removeListener() - Method in interface com.diozero.internal.spi.GpioDigitalInputDeviceInterface
 
request(byte) - Method in class com.diozero.sandpit.MFRC522
Find cards, read the card type number Input parameters: reqMode - find cards way TagType - Return Card Type 0x4400 = Mifare_UltraLight 0x0400 = Mifare_One(S50) 0x0200 = Mifare_One(S70) 0x0800 = Mifare_Pro(X) 0x4403 = Mifare_DESFire
reset() - Method in class com.diozero.sandpit.MFRC522
Perform soft reset of AddicoreRFID Module
returnHome() - Method in class com.diozero.I2CLcd
Return the cursor to the home position
reverse() - Method in class com.diozero.api.motor.DigitalMotor
 
reverse() - Method in class com.diozero.api.motor.DualMotor
 
reverse() - Method in class com.diozero.api.motor.MotorBase
Reverse direction of the motors
reverse() - Method in interface com.diozero.api.motor.MotorInterface
 
RgbLed - Class in com.diozero
Three pin controlled RGB LED.
RgbLed(int, int, int) - Constructor for class com.diozero.RgbLed
 
RgbLed(GpioDeviceFactoryInterface, int, int, int) - Constructor for class com.diozero.RgbLed
 
RgbLedTest - Class in com.diozero.sampleapps
 
RgbLedTest() - Constructor for class com.diozero.sampleapps.RgbLedTest
 
RgbPwmLed - Class in com.diozero
Three pin controlled RGB LED.
RgbPwmLed(int, int, int) - Constructor for class com.diozero.RgbPwmLed
 
RgbPwmLed(PwmOutputDeviceFactoryInterface, int, int, int) - Constructor for class com.diozero.RgbPwmLed
 
RgbPwmLedTest - Class in com.diozero.sampleapps
 
RgbPwmLedTest() - Constructor for class com.diozero.sampleapps.RgbPwmLedTest
 
rotateLeft(float) - Method in class com.diozero.api.motor.DualMotor
 
rotateRight(float) - Method in class com.diozero.api.motor.DualMotor
 
run() - Method in class com.diozero.api.AnalogInputDevice
 
run() - Method in class com.diozero.sampleapps.I2CLcdSampleAppInteractive
 
run() - Method in class com.diozero.util.SoftwarePwm
 
RuntimeIOException - Exception in com.diozero.util
 
RuntimeIOException(Throwable) - Constructor for exception com.diozero.util.RuntimeIOException
 
RuntimeIOException(String) - Constructor for exception com.diozero.util.RuntimeIOException
 
RuntimeIOException(String, Throwable) - Constructor for exception com.diozero.util.RuntimeIOException
 
RyanteckDualMotor - Class in com.diozero
RTK MCB Robot.
RyanteckDualMotor() - Constructor for class com.diozero.RyanteckDualMotor
 

S

sameMakeAndModel(BoardInfo) - Method in class com.diozero.util.BoardInfo
 
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class com.diozero.util.DioZeroScheduler
 
selectTag(byte[]) - Method in class com.diozero.sandpit.MFRC522
 
Servo - Class in com.diozero.sandpit
 
Servo(int, int, float) - Constructor for class com.diozero.sandpit.Servo
 
Servo(PwmOutputDeviceFactoryInterface, int, int, float) - Constructor for class com.diozero.sandpit.Servo
 
ServoTest - Class in com.diozero.sampleapps
Servo test application.
ServoTest() - Constructor for class com.diozero.sampleapps.ServoTest
 
ServoUtil - Class in com.diozero.util
 
ServoUtil() - Constructor for class com.diozero.util.ServoUtil
 
set() - Method in class com.diozero.util.Event
 
setAntennaOn(boolean) - Method in class com.diozero.sandpit.MFRC522
Open antennas, each time you start or shut down the natural barrier between the transmitter should be at least 1ms interval
setAutoGain(boolean) - Method in class com.diozero.TSL2561
Enables or disables the auto-gain settings when reading data from the sensor
setBacklightOn(boolean) - Method in class com.diozero.I2CLcd
 
setBit(byte) - Method in class com.diozero.util.MutableByte
 
setBitValue(byte, boolean, int) - Static method in class com.diozero.util.BitManipulation
 
setBitValue(byte, boolean) - Method in class com.diozero.util.MutableByte
 
setCharacter(int, int, char) - Method in class com.diozero.I2CLcd
 
setCursorPosition(int, int) - Method in class com.diozero.I2CLcd
 
setDebounceTime(float) - Method in class com.diozero.sandpit.DebouncedDigitalInputDevice
 
setDebounceTimeMillis(int) - Method in interface com.diozero.internal.spi.GpioDigitalInputDeviceInterface
 
setEventAge(int) - Method in class com.diozero.api.SmoothedInputDevice
Set the event age (milliseconds).
setFd(int) - Method in class com.diozero.util.PollNative
 
setGain(int) - Method in class com.diozero.TSL2561
Adjusts the gain on the TSL2561 (adjusts the sensitivity to light)
setGyro(Vector3D) - Method in class com.diozero.api.imu.ImuData
 
setListener(InputEventListener<T>) - Method in class com.diozero.internal.spi.AbstractInputDevice
 
setListener(InputEventListener<DigitalInputEvent>) - Method in interface com.diozero.internal.spi.GpioDigitalInputDeviceInterface
 
setNativeDeviceFactory(NativeDeviceFactoryInterface) - Static method in class com.diozero.internal.DeviceFactoryHelper
 
setOn(boolean) - Method in class com.diozero.api.DigitalOutputDevice
Turn the device on or off.
setOperatingModes(BME280.TemperatureOversampling, BME280.PressureOversampling, BME280.HumidityOversampling, BME280.OperatingMode) - Method in class com.diozero.BME280
 
setOutputEnabledFlag(boolean) - Method in class com.diozero.sandpit.PCF8591
 
setPulseWidthMs(float) - Method in class com.diozero.sandpit.Servo
Set the servo pulse width in milliseconds
setPwmFrequency(int, int) - Method in interface com.diozero.internal.spi.PwmOutputDeviceFactoryInterface
 
setPwmFrequency(int, int) - Method in class com.diozero.PCA9685
 
setServoPulseWidthMs(int, double) - Method in class com.diozero.PCA9685
Set the pulse duration (micro-seconds) E.g.
setStandbyAndFilterModes(BME280.StandbyMode, BME280.FilterMode) - Method in class com.diozero.BME280
 
setText(int, String) - Method in class com.diozero.I2CLcd
Send string to display
setThreshold(int) - Method in class com.diozero.api.SmoothedInputDevice
Set the threshold value in terms of number of on events within the specified time period that will trigger an on event to any listeners.
setValue(float) - Method in class com.diozero.api.motor.MotorBase
Set the speed of the motor as a floating point value between -1 (full speed backward) and 1 (full speed forward)
setValue(float) - Method in interface com.diozero.api.motor.MotorInterface
 
setValue(float) - Method in class com.diozero.api.PwmOutputDevice
Set the PWM output value (0..1).
setValue(float) - Method in interface com.diozero.internal.spi.GpioAnalogOutputDeviceInterface
 
setValue(boolean) - Method in interface com.diozero.internal.spi.GpioDigitalOutputDeviceInterface
 
setValue(float) - Method in interface com.diozero.internal.spi.PwmOutputDeviceInterface
Set the PWM output value (0..1)
setValue(int, boolean) - Method in class com.diozero.MCP23017
 
setValue(int, float) - Method in class com.diozero.PCA9685
Set PWM output on a specific channel, value must be 0..1
setValue(int, float) - Method in class com.diozero.sandpit.PCF8591
Set the analog output value.
setValueInternal(float) - Method in class com.diozero.api.PwmOutputDevice
 
setValues(float, float) - Method in class com.diozero.api.motor.DualMotor
Set the speed and direction for both motors (clockwise / counter-clockwise)
setValues(boolean, boolean, boolean) - Method in class com.diozero.RgbLed
Set the state of all LEDs.
setValues(float, float, float) - Method in class com.diozero.RgbPwmLed
Set the value of all LEDs.
setValueUnsafe(boolean) - Method in class com.diozero.api.DigitalOutputDevice
Unsafe operation that has no synchronisation checks and doesn't compensate for active low logic.
shiftDisplayLeft() - Method in class com.diozero.I2CLcd
 
shiftDisplayRight() - Method in class com.diozero.I2CLcd
 
shutdown() - Method in class com.diozero.internal.spi.AbstractDeviceFactory
 
shutdown() - Method in interface com.diozero.internal.spi.DeviceFactoryInterface
 
shutdown(int) - Static method in class com.diozero.util.EpollNative
 
shutdownAll() - Static method in class com.diozero.util.DioZeroScheduler
 
size() - Method in class com.diozero.internal.DeviceStates
 
sleepMicros(int) - Static method in class com.diozero.util.SleepUtil
Sleep for the specific number of microseconds
sleepMillis(long) - Static method in class com.diozero.util.SleepUtil
Sleep for the specific number of milliseconds
sleepNanos(int) - Static method in class com.diozero.util.SleepUtil
Sleep for the specified number of nanoseconds.
sleepNanos(int, long) - Static method in class com.diozero.util.SleepUtil
 
sleepSeconds(int) - Static method in class com.diozero.util.SleepUtil
Sleep for the specific number of seconds
sleepSeconds(double) - Static method in class com.diozero.util.SleepUtil
Sleep for the specific number of seconds
SleepUtil - Class in com.diozero.util
 
SleepUtil() - Constructor for class com.diozero.util.SleepUtil
 
SmoothedInputDevice - Class in com.diozero.api
Represents a generic input device which takes its value from the number of active events over a specific time period.
SmoothedInputDevice(int, GpioPullUpDown, int, int, int) - Constructor for class com.diozero.api.SmoothedInputDevice
 
SmoothedInputDevice(GpioDeviceFactoryInterface, int, GpioPullUpDown, int, int, int) - Constructor for class com.diozero.api.SmoothedInputDevice
 
SoftwarePwm - Class in com.diozero.util
 
SoftwarePwm(int, int, int) - Constructor for class com.diozero.util.SoftwarePwm
 
SoftwarePwm(GpioDeviceFactoryInterface, int) - Constructor for class com.diozero.util.SoftwarePwm
 
SoftwarePwmTest - Class in com.diozero.sampleapps
 
SoftwarePwmTest() - Constructor for class com.diozero.sampleapps.SoftwarePwmTest
 
SpiClockMode - Enum in com.diozero.api
 
SPIConstants - Interface in com.diozero.api
 
SpiDevice - Class in com.diozero.api
https://www.raspberrypi.org/documentation/hardware/raspberrypi/spi/README.md For modern Raspberry Pis: 2 SPI controllers, 0 (SPI-0) and 1 (SPI-1) Controller 0 has 2 channels (CE-0 on physical pin 24, CE-1 on physical pin 26) Controller 1 has 3 channels (CE-0 on physical pin 12, CE-1 on physical pin 11, CE-2 on physical pin 36) SPI-1 is more limited that SPI-0 on the Raspberry Pi (https://www.raspberrypi.org/forums/viewtopic.php?t=81903&p=579154) - The SPI-1 clock is derived from the system clock therefore you have to be careful when over/underclocking to set the right divisor - Limited IRQ support, no thresholding on the FIFO except "TX empty" or "done".
SpiDevice(int) - Constructor for class com.diozero.api.SpiDevice
 
SpiDevice(int, int) - Constructor for class com.diozero.api.SpiDevice
 
SpiDevice(int, int, int, SpiClockMode) - Constructor for class com.diozero.api.SpiDevice
 
SpiDeviceFactoryInterface - Interface in com.diozero.internal.spi
 
SpiDeviceInterface - Interface in com.diozero.internal.spi
 
start() - Method in class com.diozero.util.SoftwarePwm
 
startRead() - Method in class com.diozero.api.imu.ImuBase
 
startRead() - Method in interface com.diozero.api.imu.ImuInterface
 
statusAll() - Static method in class com.diozero.util.DioZeroScheduler
 
stop() - Method in class com.diozero.api.motor.DigitalMotor
 
stop() - Method in class com.diozero.api.motor.DualMotor
 
stop() - Method in class com.diozero.api.motor.Motor
 
stop() - Method in interface com.diozero.api.motor.MotorInterface
 
stop() - Method in class com.diozero.sandpit.TB6612FNGMotor
 
stop() - Method in class com.diozero.util.PollNative
 
stop() - Method in class com.diozero.util.SoftwarePwm
 
stopRead() - Method in class com.diozero.api.imu.ImuBase
 
stopRead() - Method in interface com.diozero.api.imu.ImuInterface
 
stopWait(int) - Static method in class com.diozero.util.EpollNative
 
StringUtil - Class in com.diozero.util
 
StringUtil() - Constructor for class com.diozero.util.StringUtil
 
SUB_ADDRESS_SIZE_1_BYTE - Static variable in interface com.diozero.api.I2CConstants
 
SUB_ADDRESS_SIZE_2_BYTES - Static variable in interface com.diozero.api.I2CConstants
 
SystemInfo - Class in com.diozero.util
 
SystemInfo() - Constructor for class com.diozero.util.SystemInfo
 

T

TapEvent - Class in com.diozero.api.imu
 
TapEvent(TapEvent.TapType, short) - Constructor for class com.diozero.api.imu.TapEvent
 
TapEvent.TapAxisType - Enum in com.diozero.api.imu
 
TapEvent.TapType - Enum in com.diozero.api.imu
 
TapListener - Interface in com.diozero.api.imu
 
TB6612FNGDualMotorDriver - Class in com.diozero.sandpit
Dual bi-directional motor controlled by a single PWM pin and separate forward / backward GPIO pins Toshiba TB6612FNG Dual Motor Driver such as this one from Pololu: https://www.pololu.com/product/713
TB6612FNGDualMotorDriver(int, int, int, int, int, int) - Constructor for class com.diozero.sandpit.TB6612FNGDualMotorDriver
 
TB6612FNGDualMotorDriver(PwmOutputDeviceFactoryInterface, int, int, int, int, int, int) - Constructor for class com.diozero.sandpit.TB6612FNGDualMotorDriver
 
TB6612FNGDualMotorDriver(DigitalOutputDevice, DigitalOutputDevice, PwmOutputDevice, DigitalOutputDevice, DigitalOutputDevice, PwmOutputDevice) - Constructor for class com.diozero.sandpit.TB6612FNGDualMotorDriver
 
TB6612FNGMotor - Class in com.diozero.sandpit
Bi-directional motor controlled by a single PWM pin and separate forward / backward GPIO pins Toshiba TB6612FNG Dual Motor Driver such as @see this one from Pololu Turn forward, set pin 1 to HIGH, pin 2 to LOW, and PWM to >0 Turn backward, set pin 1 to LOW, pin 2 to HIGH, PWM to >0
TB6612FNGMotor(DigitalOutputDevice, DigitalOutputDevice, PwmOutputDevice) - Constructor for class com.diozero.sandpit.TB6612FNGMotor
 
TemperaturePressureSensorInterface - Interface in com.diozero.api
 
TemperatureSensorInterface - Interface in com.diozero.api
 
test(int, int) - Static method in class com.diozero.sampleapps.ButtonControlledLed
 
test(int) - Static method in class com.diozero.sampleapps.ButtonTest
 
test(McpAdc.Type, int, int, float) - Static method in class com.diozero.sampleapps.GP2Y0A21YKApp
 
test(int, int) - Static method in class com.diozero.sampleapps.GpioPerfTest
 
test(int, int) - Static method in class com.diozero.sampleapps.HCSR04Test
 
test(int) - Static method in class com.diozero.sampleapps.InOutTest
 
test(int) - Static method in class com.diozero.sampleapps.InputWaitTest
 
test(McpAdc.Type, int, int, float, int, int) - Static method in class com.diozero.sampleapps.LdrControlledLed
 
test(McpAdc.Type, int, int, float, int) - Static method in class com.diozero.sampleapps.LDRListenerTest
 
test(McpAdc.Type, int, int, float, int) - Static method in class com.diozero.sampleapps.LDRTest
 
test(int) - Static method in class com.diozero.sampleapps.LEDTest
 
test(int, int, int, int) - Static method in class com.diozero.sampleapps.MCP23017Test
 
test(McpAdc.Type, int, int) - Static method in class com.diozero.sampleapps.McpAdcTest
 
test(int, int) - Static method in class com.diozero.sampleapps.PCA9685ServoTest
 
test(McpAdc.Type, int, int, float, float) - Static method in class com.diozero.sampleapps.PotentiometerTest
 
test(int) - Static method in class com.diozero.sampleapps.PwmLedTest
 
test(int) - Static method in class com.diozero.sampleapps.PwmTest
 
test(int, int) - Static method in class com.diozero.sampleapps.ServoTest
 
test(McpAdc.Type, int, int, float, float) - Static method in class com.diozero.sampleapps.TMP36Test
 
test() - Static method in class com.diozero.sampleapps.TSL2561Test
 
testMovements(float, float) - Method in class com.diozero.sampleapps.CamJamLineFollower
 
testMovements(float, float) - Method in class com.diozero.sampleapps.CamJamRobot
 
TMP36 - Class in com.diozero
Support for reading temperature values from a TMP36 Temperature Sensor by Analog Devices
TMP36(AnalogInputDeviceFactoryInterface, int, float, float) - Constructor for class com.diozero.TMP36
 
TMP36Test - Class in com.diozero.sampleapps
TMP36 temperature sensor sample application.
TMP36Test() - Constructor for class com.diozero.sampleapps.TMP36Test
 
toCard(byte, byte[]) - Method in class com.diozero.sandpit.MFRC522
 
toggle() - Method in class com.diozero.api.DigitalOutputDevice
Toggle the state of the device.
toggle() - Method in class com.diozero.api.PwmOutputDevice
Toggle the state of the device (same as setValue(1 - getvalue()) ).
toggle() - Method in class com.diozero.RgbLed
Toggle the state of all LEDs.
toggle() - Method in class com.diozero.RgbPwmLed
Toggle the state of all LEDs.
toString() - Method in class com.diozero.api.AnalogInputEvent
 
toString() - Method in class com.diozero.api.DigitalInputEvent
 
toString() - Method in class com.diozero.api.imu.OrientationEvent
 
toString() - Method in class com.diozero.api.imu.TapEvent
 
toString() - Method in class com.diozero.util.BoardInfo
 
toString() - Method in class com.diozero.util.EpollEvent
 
TSL2561 - Class in com.diozero
 
TSL2561(int) - Constructor for class com.diozero.TSL2561
 
TSL2561(int, int, int, int) - Constructor for class com.diozero.TSL2561
 
TSL2561_PACKAGE_CS - Static variable in class com.diozero.TSL2561
 
TSL2561_PACKAGE_T_FN_CL - Static variable in class com.diozero.TSL2561
 
TSL2561Test - Class in com.diozero.sampleapps
TSL2561 sample application.
TSL2561Test() - Constructor for class com.diozero.sampleapps.TSL2561Test
 

U

UNASSIGNED - Static variable in interface com.diozero.api.I2CConstants
 
unsetBit(byte) - Method in class com.diozero.util.MutableByte
 
US_IN_MS - Static variable in class com.diozero.util.SleepUtil
 
US_IN_SEC - Static variable in class com.diozero.util.SleepUtil
 

V

valueChanged(DigitalInputEvent) - Method in class com.diozero.api.DigitalInputDevice
 
valueChanged(T) - Method in class com.diozero.api.GpioInputDevice
 
valueChanged(T) - Method in interface com.diozero.api.InputEventListener
 
valueChanged(float) - Method in class com.diozero.api.motor.MotorBase
 
valueChanged(MotorEvent) - Method in interface com.diozero.api.motor.MotorListener
 
valueChanged(DigitalInputEvent) - Method in class com.diozero.api.SmoothedInputDevice
 
valueChanged(DigitalInputEvent) - Method in class com.diozero.api.WaitableDigitalInputDevice
 
valueChanged(T) - Method in class com.diozero.internal.spi.AbstractInputDevice
 
valueChanged(DigitalInputEvent) - Method in class com.diozero.MCP23017
 
valueChanged(DigitalInputEvent) - Method in class com.diozero.sandpit.HCSR04UsingEvents
 
valueOf(String) - Static method in enum com.diozero.api.GpioEventTrigger
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.api.GpioPullUpDown
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.api.imu.OrientationEvent.OrientationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.api.imu.TapEvent.TapAxisType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.api.imu.TapEvent.TapType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.api.PwmType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.api.SpiClockMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.BME280.FilterMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.BME280.HumidityOversampling
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.BME280.OperatingMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.BME280.PressureOversampling
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.BME280.StandbyMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.BME280.TemperatureOversampling
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.BMP180.BMPMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.internal.board.odroid.OdroidBoardInfoProvider.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Manufacturer
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Memory
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Model
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Processor
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Revision
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.internal.spi.GpioDeviceInterface.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.McpAdc.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.sandpit.PCF8591.InputMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.W1ThermSensor.Type
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum com.diozero.W1ThermSensor.Type
 
valueOf(Path) - Static method in enum com.diozero.W1ThermSensor.Type
 
values() - Static method in enum com.diozero.api.GpioEventTrigger
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.api.GpioPullUpDown
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.api.imu.OrientationEvent.OrientationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.api.imu.TapEvent.TapAxisType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.api.imu.TapEvent.TapType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.api.PwmType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.api.SpiClockMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.BME280.FilterMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.BME280.HumidityOversampling
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.BME280.OperatingMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.BME280.PressureOversampling
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.BME280.StandbyMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.BME280.TemperatureOversampling
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.BMP180.BMPMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.internal.board.odroid.OdroidBoardInfoProvider.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Manufacturer
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Memory
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Model
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Processor
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.Revision
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.internal.spi.GpioDeviceInterface.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.McpAdc.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.sandpit.PCF8591.InputMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.W1ThermSensor.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

W1ThermSensor - Class in com.diozero
 
W1ThermSensor.Type - Enum in com.diozero
 
W1ThermSensorApp - Class in com.diozero.sampleapps
To run:
W1ThermSensorApp() - Constructor for class com.diozero.sampleapps.W1ThermSensorApp
 
WaitableDigitalInputDevice - Class in com.diozero.api
Represents a digital input device with distinct waitable states (active / inactive).
WaitableDigitalInputDevice(int) - Constructor for class com.diozero.api.WaitableDigitalInputDevice
 
WaitableDigitalInputDevice(int, GpioPullUpDown, GpioEventTrigger) - Constructor for class com.diozero.api.WaitableDigitalInputDevice
 
WaitableDigitalInputDevice(GpioDeviceFactoryInterface, int, GpioPullUpDown, GpioEventTrigger) - Constructor for class com.diozero.api.WaitableDigitalInputDevice
 
waitForActive() - Method in class com.diozero.api.WaitableDigitalInputDevice
Wait indefinitely for the device state to go active.
waitForActive(int) - Method in class com.diozero.api.WaitableDigitalInputDevice
Wait the specified time period for the device state to go active.
waitForEvents(int) - Static method in class com.diozero.util.EpollNative
 
waitForInactive() - Method in class com.diozero.api.WaitableDigitalInputDevice
Wait indefinitely for the device state to go inactive.
waitForInactive(int) - Method in class com.diozero.api.WaitableDigitalInputDevice
Wait the specified time period for the device state to go inactive.
waitForValue(boolean, int) - Method in class com.diozero.api.WaitableDigitalInputDevice
Wait the specified time period for the device state to switch to value.
whenActivated(Action) - Method in class com.diozero.api.DigitalInputDevice
Action to perform when the device state is active.
whenBackward(Action) - Method in class com.diozero.api.motor.MotorBase
 
whenBackward(Action) - Method in interface com.diozero.api.motor.MotorInterface
 
whenDeactivated(Action) - Method in class com.diozero.api.DigitalInputDevice
Action to perform when the device state is inactive.
whenForward(Action) - Method in class com.diozero.api.motor.MotorBase
 
whenForward(Action) - Method in interface com.diozero.api.motor.MotorInterface
 
whenPressed(Action) - Method in class com.diozero.Button
Action to perform when the button is pressed.
whenReleased(Action) - Method in class com.diozero.Button
Action to perform when the button is released.
whenStop(Action) - Method in class com.diozero.api.motor.MotorBase
 
whenStop(Action) - Method in interface com.diozero.api.motor.MotorInterface
 
write(int, int, byte[]) - Method in class com.diozero.api.I2CDevice
Writes a single byte to a register
write(int, int, byte) - Method in class com.diozero.api.I2CDevice
Writes a single byte to a register
write(byte[]) - Method in class com.diozero.api.I2CDevice
 
write(byte[], ByteOrder) - Method in class com.diozero.api.I2CDevice
 
write(int, int, ByteBuffer) - Method in interface com.diozero.internal.spi.I2CDeviceInterface
 
write(ByteBuffer) - Method in interface com.diozero.internal.spi.I2CDeviceInterface
 
writeAndRead(ByteBuffer) - Method in class com.diozero.api.SpiDevice
 
writeAndRead(ByteBuffer) - Method in interface com.diozero.internal.spi.SpiDeviceInterface
 
writeBit(int, int, int) - Method in class com.diozero.api.I2CDevice
write a single bit in an 8-bit device register.
writeBit(int, int, boolean) - Method in class com.diozero.api.I2CDevice
write a single bit in an 8-bit device register.
writeBits(int, int, int, int) - Method in class com.diozero.api.I2CDevice
Write multiple bits in an 8-bit device register.
writeByte(int, int) - Method in class com.diozero.api.I2CDevice
Write single byte to an 8-bit device register.
writeByte(int, byte) - Method in class com.diozero.api.I2CDevice
Write single byte to an 8-bit device register.
writeByte(byte) - Method in class com.diozero.api.I2CDevice
 
writeByte(byte, ByteOrder) - Method in class com.diozero.api.I2CDevice
 
writeBytes(int, int, byte[]) - Method in class com.diozero.api.I2CDevice
Write multiple bytes to an 8-bit device register.
writeBytes(int, int, byte[], int) - Method in class com.diozero.api.I2CDevice
 
writeShort(int, short) - Method in class com.diozero.api.I2CDevice
 
writeWord(int, int) - Method in class com.diozero.api.I2CDevice
Write single word to a 16-bit device register.
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2016 mattjlewis. All rights reserved.