Skip navigation links
A B C D E F G H I K L M N O P Q 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(String) - 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
 
addAdcPinInfo(int, int) - Method in class com.diozero.util.BoardPinInfo
 
addAdcPinInfo(int, String, int) - Method in class com.diozero.util.BoardPinInfo
 
addAdcPinInfo(String, int, String, int) - Method in class com.diozero.util.BoardPinInfo
 
addAdcPinInfo(PinInfo) - Method in class com.diozero.util.BoardPinInfo
 
addDacPinInfo(int, int) - Method in class com.diozero.util.BoardPinInfo
 
addDacPinInfo(int, String, int) - Method in class com.diozero.util.BoardPinInfo
 
addDacPinInfo(String, int, int) - Method in class com.diozero.util.BoardPinInfo
 
addDacPinInfo(String, int, String, int) - Method in class com.diozero.util.BoardPinInfo
 
addDacPinInfo(PinInfo) - Method in class com.diozero.util.BoardPinInfo
 
addGpioPinInfo(int, int, Set<DeviceMode>) - Method in class com.diozero.util.BoardPinInfo
 
addGpioPinInfo(int, String, int, Set<DeviceMode>) - Method in class com.diozero.util.BoardPinInfo
 
addGpioPinInfo(String, int, int, Set<DeviceMode>) - Method in class com.diozero.util.BoardPinInfo
 
addGpioPinInfo(String, int, String, int, Set<DeviceMode>) - Method in class com.diozero.util.BoardPinInfo
 
addGpioPinInfo(PinInfo) - Method in class com.diozero.util.BoardPinInfo
 
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
 
addPwmPinInfo(int, int, int, Set<DeviceMode>) - Method in class com.diozero.util.BoardPinInfo
 
addPwmPinInfo(int, String, int, int, Set<DeviceMode>) - Method in class com.diozero.util.BoardPinInfo
 
addPwmPinInfo(String, int, String, int, int, Set<DeviceMode>) - Method in class com.diozero.util.BoardPinInfo
 
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.HD44780Lcd
 
addText(char) - Method in class com.diozero.HD44780Lcd
 
addText(int) - Method in class com.diozero.HD44780Lcd
 
ALL_PIXELS - Static variable in class com.diozero.PiconZero
 
ANALOG_INPUT - Static variable in class com.diozero.api.PinInfo
 
ANALOG_OUTPUT - Static variable in class com.diozero.api.PinInfo
 
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) - Constructor for class com.diozero.api.AnalogInputDevice
 
AnalogInputDeviceFactoryInterface - Interface in com.diozero.internal.spi
 
AnalogInputDeviceInterface - 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
 
AnalogOutputDeviceInterface - Interface in com.diozero.internal.spi
 
Animation - Class in com.diozero.api
The Animation class constructs objects that represent a single Animation.
Animation(Collection<OutputDeviceInterface>, int, EasingFunction, float) - Constructor for class com.diozero.api.Animation
 
AnimationObject - Class in com.diozero.api
 
AnimationObject() - Constructor for class com.diozero.api.AnimationObject
 
AnimationObject.KeyFrame - Class in com.diozero.api
 
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
authenticate(byte, byte, byte[], byte[]) - Method in class com.diozero.sandpit.MFRC522
 
autoscrollOff() - Method in class com.diozero.HD44780Lcd
 
autoscrollOn() - Method in class com.diozero.HD44780Lcd
 

B

Back - Class in com.diozero.api.easing
 
Back() - Constructor for class com.diozero.api.easing.Back
 
backward() - Method in class com.diozero.api.motor.DigitalMotor
 
backward(float) - Method in class com.diozero.api.motor.DualMotor
 
backward(float) - Method in interface com.diozero.api.motor.MotorInterface
 
backward() - Method in class com.diozero.api.motor.PwmMotor
Backward at full speed
backward(float) - Method in class com.diozero.api.motor.PwmMotor
 
backward(float) - Method in class com.diozero.PiconZeroMotor
 
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
 
BarometerInterface - Interface in com.diozero.api
 
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
 
BBB_BOARD_INFO - Static variable in class com.diozero.internal.board.beaglebone.BeagleBoneBoardInfoProvider
 
BeagleBoneBlackBoardInfo() - Constructor for class com.diozero.internal.board.beaglebone.BeagleBoneBoardInfoProvider.BeagleBoneBlackBoardInfo
 
BeagleBoneBoardInfoProvider - Class in com.diozero.internal.board.beaglebone
 
BeagleBoneBoardInfoProvider() - Constructor for class com.diozero.internal.board.beaglebone.BeagleBoneBoardInfoProvider
 
BeagleBoneBoardInfoProvider.BeagleBoneBlackBoardInfo - Class in com.diozero.internal.board.beaglebone
 
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(Action) - 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(float, float, int, boolean, Action) - 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.
blinkOff() - Method in class com.diozero.HD44780Lcd
 
blinkOn() - Method in class com.diozero.HD44780Lcd
 
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
 
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
boardInfo - Variable in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
BoardInfo - Class in com.diozero.util
 
BoardInfo(String, String, int, String) - Constructor for class com.diozero.util.BoardInfo
 
BoardInfo(String, String, int, String, float) - Constructor for class com.diozero.util.BoardInfo
 
BoardInfoProvider - Interface in com.diozero.util
 
BoardPinInfo - Class in com.diozero.util
 
BoardPinInfo() - Constructor for class com.diozero.util.BoardPinInfo
 
Bounce - Class in com.diozero.api.easing
 
Bounce() - Constructor for class com.diozero.api.easing.Bounce
 
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
 
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
 
CE0 - Static variable in interface com.diozero.api.SPIConstants
 
CE1 - Static variable in interface com.diozero.api.SPIConstants
 
CE2 - Static variable in interface com.diozero.api.SPIConstants
 
CE3 - Static variable in interface com.diozero.api.SPIConstants
 
Characters() - Constructor for class com.diozero.HD44780Lcd.Characters
 
CHIP_BOARD_INFO - Static variable in class com.diozero.internal.board.chip.CHIPBoardInfoProvider
 
CHIPBoardInfo() - Constructor for class com.diozero.internal.board.chip.CHIPBoardInfoProvider.CHIPBoardInfo
 
CHIPBoardInfoProvider - Class in com.diozero.internal.board.chip
 
CHIPBoardInfoProvider() - Constructor for class com.diozero.internal.board.chip.CHIPBoardInfoProvider
 
CHIPBoardInfoProvider.CHIPBoardInfo - Class in com.diozero.internal.board.chip
 
circleLeft(float, float) - Method in class com.diozero.api.motor.DualMotor
 
circleRight(float, float) - Method in class com.diozero.api.motor.DualMotor
 
Circular - Class in com.diozero.api.easing
 
Circular() - Constructor for class com.diozero.api.easing.Circular
 
clear() - Method in class com.diozero.HD44780Lcd
Clear the display
clear() - Method in class com.diozero.SSD1306
 
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 interface com.diozero.api.DigitalInputDeviceInterface
 
close() - Method in class com.diozero.api.DigitalInputOutputDevice
 
close() - Method in class com.diozero.api.DigitalOutputDevice
 
close() - Method in interface com.diozero.api.GpioExpander
 
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.PwmMotor
 
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.HD44780Lcd
 
close() - Method in interface com.diozero.HD44780Lcd.LcdConnection
 
close() - Method in class com.diozero.HD44780Lcd.PCF8574LcdConnection
 
close() - Method in class com.diozero.HD44780Lcd.PiFaceCadLcdConnection
 
close() - Method in class com.diozero.HTS221
 
close() - Method in class com.diozero.internal.spi.AbstractDevice
 
close() - Method in interface com.diozero.internal.spi.AnalogInputDeviceInterface
 
close() - Method in interface com.diozero.internal.spi.DeviceInterface
 
close() - Method in class com.diozero.legacy.MCP23008Old
 
close() - Method in class com.diozero.legacy.MCP23017Old
 
close() - Method in class com.diozero.LPS25H
 
close() - Method in class com.diozero.MCP23008
 
close() - Method in class com.diozero.MCP23017
 
close() - Method in class com.diozero.MCP23S17
 
close() - Method in class com.diozero.McpAdc
 
close() - Method in class com.diozero.PCA9685
 
close() - Method in class com.diozero.PCF8574
 
close() - Method in class com.diozero.PCF8591
 
close() - Method in class com.diozero.PiconZero
 
close() - Method in class com.diozero.PiconZeroMotor
 
close() - Method in class com.diozero.RgbLed
 
close() - Method in class com.diozero.RgbPwmLed
 
close() - Method in class com.diozero.sandpit.MFRC522
 
close() - Method in class com.diozero.sandpit.Servo
 
close() - Method in class com.diozero.sandpit.TB6612FNGMotor
 
close() - Method in class com.diozero.SSD1306
 
close() - Method in class com.diozero.TSL2561
 
close() - Method in class com.diozero.util.EpollNative
 
closeAll() - Method in class com.diozero.internal.DeviceStates
 
closeChannel(int) - Method in class com.diozero.PCA9685
 
closeChannel(int) - Method in class com.diozero.PiconZero
 
closed(DeviceInterface) - Method in class com.diozero.internal.DeviceStates
 
closeDevice() - Method in class com.diozero.internal.spi.AbstractDevice
 
closeDevice() - Method in class com.diozero.legacy.MCP23008Old.MCP23008DigitalInputDevice
 
closeDevice() - Method in class com.diozero.legacy.MCP23008Old.MCP23008DigitalOutputDevice
 
closeDevice() - Method in class com.diozero.legacy.MCP23017Old.MCP23017DigitalInputDevice
 
closeDevice() - Method in class com.diozero.legacy.MCP23017Old.MCP23017DigitalOutputDevice
 
closeDevice() - Method in class com.diozero.PiconZero.PiconZeroAnalogInputDevice
 
closeDevice() - Method in class com.diozero.PiconZero.PiconZeroAnalogOutputDevice
 
closeDevice() - Method in class com.diozero.PiconZero.PiconZeroDigitalInputDevice
 
closeDevice() - Method in class com.diozero.PiconZero.PiconZeroDigitalOutputDevice
 
closeDevice() - Method in class com.diozero.PiconZero.PiconZeroPwmOutputDevice
 
closeDevice() - Method in class com.diozero.util.SoftwarePwmOutputDevice
 
closeMmapBuffer(int, int, int) - Static method in class com.diozero.util.MmapBufferNative
 
closePin(int) - Method in class com.diozero.legacy.MCP23008Old
 
closePin(int) - Method in class com.diozero.legacy.MCP23017Old
 
closePin(int) - Method in class com.diozero.PCF8574
 
com.diozero - package com.diozero
Classes representing actual devices such as LEDs, Buttons as well as GPIO, SPI and I2C connected devices.
com.diozero.api - package com.diozero.api
Lower-level APIs for interfacing with devices.
com.diozero.api.easing - package com.diozero.api.easing
 
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.beaglebone - package com.diozero.internal.board.beaglebone
 
com.diozero.internal.board.chip - package com.diozero.internal.board.chip
 
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.board.tinkerboard - package com.diozero.internal.board.tinkerboard
 
com.diozero.internal.spi - package com.diozero.internal.spi
Service Provider Interface package.
com.diozero.legacy - package com.diozero.legacy
 
com.diozero.sandpit - package com.diozero.sandpit
 
com.diozero.util - package com.diozero.util
 
createAnalogInputDevice(String, PinInfo) - Method in interface com.diozero.internal.spi.AnalogInputDeviceFactoryInterface
 
createAnalogInputDevice(String, PinInfo) - Method in class com.diozero.McpAdc
 
createAnalogInputDevice(String, PinInfo) - Method in class com.diozero.PCF8591
 
createAnalogInputDevice(String, PinInfo) - Method in class com.diozero.PiconZero
 
createAnalogOutputDevice(String, PinInfo) - Method in interface com.diozero.internal.spi.AnalogOutputDeviceFactoryInterface
 
createAnalogOutputDevice(String, PinInfo) - Method in class com.diozero.PCF8591
 
createAnalogOutputDevice(String, PinInfo) - Method in class com.diozero.PiconZero
 
createChar(int, byte[]) - Method in class com.diozero.HD44780Lcd
 
createDigitalInputDevice(String, PinInfo, GpioPullUpDown, GpioEventTrigger) - Method in interface com.diozero.internal.spi.GpioDeviceFactoryInterface
 
createDigitalInputDevice(String, PinInfo, GpioPullUpDown, GpioEventTrigger) - Method in class com.diozero.legacy.MCP23008Old
 
createDigitalInputDevice(String, PinInfo, GpioPullUpDown, GpioEventTrigger) - Method in class com.diozero.legacy.MCP23017Old
 
createDigitalInputDevice(String, PinInfo, GpioPullUpDown, GpioEventTrigger) - Method in class com.diozero.PCF8574
 
createDigitalInputDevice(String, PinInfo, GpioPullUpDown, GpioEventTrigger) - Method in class com.diozero.PiconZero
 
createDigitalInputOutputDevice(String, PinInfo, DeviceMode) - Method in interface com.diozero.internal.spi.GpioDeviceFactoryInterface
 
createDigitalInputOutputDevice(String, PinInfo, DeviceMode) - Method in class com.diozero.legacy.MCP23008Old
 
createDigitalInputOutputDevice(String, PinInfo, DeviceMode) - Method in class com.diozero.legacy.MCP23017Old
 
createDigitalInputOutputDevice(String, PinInfo, DeviceMode) - Method in class com.diozero.PCF8574
 
createDigitalInputOutputDevice(String, PinInfo, DeviceMode) - Method in class com.diozero.PiconZero
 
createDigitalOutputDevice(String, PinInfo, boolean) - Method in interface com.diozero.internal.spi.GpioDeviceFactoryInterface
 
createDigitalOutputDevice(String, PinInfo, boolean) - Method in class com.diozero.legacy.MCP23008Old
 
createDigitalOutputDevice(String, PinInfo, boolean) - Method in class com.diozero.legacy.MCP23017Old
 
createDigitalOutputDevice(String, PinInfo, boolean) - Method in class com.diozero.PCF8574
 
createDigitalOutputDevice(String, PinInfo, boolean) - Method in class com.diozero.PiconZero
 
createI2CDevice(String, int, int, int, int) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
createMmapBuffer(String, int, int) - Static method in class com.diozero.util.MmapBufferNative
 
createPinKey(PinInfo) - Method in class com.diozero.internal.spi.AbstractDeviceFactory
 
createPinKey(PinInfo) - Method in interface com.diozero.internal.spi.DeviceFactoryInterface
 
createPwmOutputDevice(String, PinInfo, float) - Method in interface com.diozero.internal.spi.PwmOutputDeviceFactoryInterface
 
createPwmOutputDevice(String, PinInfo, float) - Method in class com.diozero.PCA9685
 
createPwmOutputDevice(String, PinInfo, float) - Method in class com.diozero.PiconZero
 
createSpiDevice(String, int, int, int, SpiClockMode, boolean) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
Cubic - Class in com.diozero.api.easing
 
Cubic() - Constructor for class com.diozero.api.easing.Cubic
 
cursorOff() - Method in class com.diozero.HD44780Lcd
 
cursorOn() - Method in class com.diozero.HD44780Lcd
 
cursorOrDisplayShift(boolean, boolean) - Method in class com.diozero.HD44780Lcd
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.HD44780Lcd.PCF8574LcdConnection
 
DEFAULT_HEADER - Static variable in class com.diozero.api.PinInfo
 
DEFAULT_LSB_FIRST - Static variable in interface com.diozero.api.SPIConstants
 
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
 
deregister(String) - Method in class com.diozero.util.EpollNative
 
device - Variable in class com.diozero.api.DigitalInputDevice
 
device - Variable in class com.diozero.api.DigitalInputOutputDevice
 
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
 
DeviceMode - Enum in com.diozero.api
 
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
 
DIGITAL_ANALOG_INPUT - Static variable in class com.diozero.api.PinInfo
 
DIGITAL_IN_OUT - Static variable in class com.diozero.api.PinInfo
 
DIGITAL_IN_OUT_PWM - Static variable in class com.diozero.api.PinInfo
 
DIGITAL_PWM_OUTPUT - Static variable in class com.diozero.api.PinInfo
 
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
 
DigitalInputDeviceInterface - Interface in com.diozero.api
 
DigitalInputEvent - Class in com.diozero.api
 
DigitalInputEvent(int, long, long, boolean) - Constructor for class com.diozero.api.DigitalInputEvent
 
DigitalInputOutputDevice - Class in com.diozero.api
 
DigitalInputOutputDevice(int, DeviceMode) - Constructor for class com.diozero.api.DigitalInputOutputDevice
 
DigitalInputOutputDevice(GpioDeviceFactoryInterface, int, DeviceMode) - Constructor for class com.diozero.api.DigitalInputOutputDevice
 
DigitalMotor - Class in com.diozero.api.motor
 
DigitalMotor(int, int) - Constructor for class com.diozero.api.motor.DigitalMotor
 
DigitalMotor(GpioDeviceFactoryInterface, 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
 
display() - Method in class com.diozero.SSD1306
 
display(BufferedImage, float) - Method in class com.diozero.SSD1306
 
displayControl(boolean, boolean, boolean) - Method in class com.diozero.HD44780Lcd
 
displayOff() - Method in class com.diozero.HD44780Lcd
 
displayOn() - Method in class com.diozero.HD44780Lcd
 
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

ease(float, float, float, float) - Method in interface com.diozero.api.easing.EasingFunction
 
ease(float, float, float, float) - Static method in class com.diozero.api.easing.Linear
 
easeIn(float, float, float, float) - Static method in class com.diozero.api.easing.Back
 
easeIn(float, float, float, float, float) - Static method in class com.diozero.api.easing.Back
 
easeIn(float, float, float, float) - Static method in class com.diozero.api.easing.Bounce
 
easeIn(float, float, float, float) - Static method in class com.diozero.api.easing.Circular
 
easeIn(float, float, float, float) - Static method in class com.diozero.api.easing.Cubic
 
easeIn(float, float, float, float) - Static method in class com.diozero.api.easing.Elastic
 
easeIn(float, float, float, float, float, float) - Static method in class com.diozero.api.easing.Elastic
 
easeIn(float, float, float, float) - Static method in class com.diozero.api.easing.Exponential
 
easeIn(float, float, float, float) - Static method in class com.diozero.api.easing.Quad
 
easeIn(float, float, float, float) - Static method in class com.diozero.api.easing.Quart
 
easeIn(float, float, float, float) - Static method in class com.diozero.api.easing.Quintic
 
easeIn(float, float, float, float) - Static method in class com.diozero.api.easing.Sine
 
easeInOut(float, float, float, float) - Static method in class com.diozero.api.easing.Back
 
easeInOut(float, float, float, float, float) - Static method in class com.diozero.api.easing.Back
 
easeInOut(float, float, float, float) - Static method in class com.diozero.api.easing.Bounce
 
easeInOut(float, float, float, float) - Static method in class com.diozero.api.easing.Circular
 
easeInOut(float, float, float, float) - Static method in class com.diozero.api.easing.Cubic
 
easeInOut(float, float, float, float) - Static method in class com.diozero.api.easing.Elastic
 
easeInOut(float, float, float, float, float, float) - Static method in class com.diozero.api.easing.Elastic
 
easeInOut(float, float, float, float) - Static method in class com.diozero.api.easing.Exponential
 
easeInOut(float, float, float, float) - Static method in class com.diozero.api.easing.Quad
 
easeInOut(float, float, float, float) - Static method in class com.diozero.api.easing.Quart
 
easeInOut(float, float, float, float) - Static method in class com.diozero.api.easing.Quintic
 
easeInOut(float, float, float, float) - Static method in class com.diozero.api.easing.Sine
 
easeOut(float, float, float, float) - Static method in class com.diozero.api.easing.Back
 
easeOut(float, float, float, float, float) - Static method in class com.diozero.api.easing.Back
 
easeOut(float, float, float, float) - Static method in class com.diozero.api.easing.Bounce
 
easeOut(float, float, float, float) - Static method in class com.diozero.api.easing.Circular
 
easeOut(float, float, float, float) - Static method in class com.diozero.api.easing.Cubic
 
easeOut(float, float, float, float) - Static method in class com.diozero.api.easing.Elastic
 
easeOut(float, float, float, float, float, float) - Static method in class com.diozero.api.easing.Elastic
 
easeOut(float, float, float, float) - Static method in class com.diozero.api.easing.Exponential
 
easeOut(float, float, float, float) - Static method in class com.diozero.api.easing.Quad
 
easeOut(float, float, float, float) - Static method in class com.diozero.api.easing.Quart
 
easeOut(float, float, float, float) - Static method in class com.diozero.api.easing.Quintic
 
easeOut(float, float, float, float) - Static method in class com.diozero.api.easing.Sine
 
EasingFunction - Interface in com.diozero.api.easing
See easings.net for examples.
EasingFunctions - Class in com.diozero.api.easing
 
EasingFunctions() - Constructor for class com.diozero.api.easing.EasingFunctions
 
Elastic - Class in com.diozero.api.easing
 
Elastic() - Constructor for class com.diozero.api.easing.Elastic
 
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
 
enqueue(AnimationObject) - Method in class com.diozero.api.Animation
 
enqueue(int, float[], List<AnimationObject.KeyFrame[]>) - Method in class com.diozero.api.Animation
Add a segment to the animation's queue.
entryModeControl(boolean, boolean) - Method in class com.diozero.HD44780Lcd
Control text entry mode.
EpollEvent - Class in com.diozero.util
 
EpollEvent(int, int, long, byte) - Constructor for class com.diozero.util.EpollEvent
 
EpollNative - Class in com.diozero.util
 
EpollNative() - Constructor for class com.diozero.util.EpollNative
 
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
 
Exponential - Class in com.diozero.api.easing
 
Exponential() - Constructor for class com.diozero.api.easing.Exponential
 

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
 
forName(String) - Static method in class com.diozero.api.easing.EasingFunctions
 
forward() - Method in class com.diozero.api.motor.DigitalMotor
 
forward(float) - Method in class com.diozero.api.motor.DualMotor
 
forward(float) - Method in interface com.diozero.api.motor.MotorInterface
 
forward() - Method in class com.diozero.api.motor.PwmMotor
Forward at full speed
forward(float) - Method in class com.diozero.api.motor.PwmMotor
 
forward(float) - Method in class com.diozero.PiconZeroMotor
 
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
 
from(float[][]) - Static method in class com.diozero.api.AnimationObject.KeyFrame
 

G

get(String) - Static method in class com.diozero.HD44780Lcd.Characters
 
getAccel() - Method in class com.diozero.api.imu.ImuData
 
getAccelerometerData() - Method in interface com.diozero.api.imu.ImuInterface
 
getAdcNumber() - Method in interface com.diozero.internal.spi.AnalogInputDeviceInterface
 
getAdcNumber() - Method in class com.diozero.PiconZero.PiconZeroAnalogInputDevice
 
getAdcNumber() - Method in class com.diozero.PiconZero.PiconZeroAnalogOutputDevice
 
getAdcVRef() - Method in class com.diozero.util.BoardInfo
 
getAddress() - Method in class com.diozero.api.I2CDevice
 
getAddress() - Method in class com.diozero.util.MmapByteBuffer
 
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
 
getBackData() - Method in class com.diozero.sandpit.MFRC522.Response
 
getBackLen() - Method in class com.diozero.sandpit.MFRC522.Response
 
getBacklightBit() - Method in interface com.diozero.HD44780Lcd.LcdConnection
 
getBacklightBit() - Method in class com.diozero.HD44780Lcd.PCF8574LcdConnection
 
getBacklightBit() - Method in class com.diozero.HD44780Lcd.PiFaceCadLcdConnection
 
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
 
getBoardPinInfo() - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
getBoardPinInfo() - Method in interface com.diozero.internal.spi.DeviceFactoryInterface
 
getBoardPinInfo() - Method in class com.diozero.legacy.MCP23008Old
 
getBoardPinInfo() - Method in class com.diozero.legacy.MCP23017Old
 
getBoardPinInfo() - Method in class com.diozero.McpAdc
 
getBoardPinInfo() - Method in class com.diozero.PCA9685
 
getBoardPinInfo() - Method in class com.diozero.PCF8574
 
getBoardPinInfo() - Method in class com.diozero.PCF8591
 
getBoardPinInfo() - Method in class com.diozero.PiconZero
 
getBuffer() - Method in class com.diozero.util.MmapByteBuffer
 
getByAdcNumber(int) - Method in class com.diozero.util.BoardPinInfo
 
getByAdcNumber(int) - Method in class com.diozero.util.SystemInfo.UnknownBoardInfo
 
getByDacNumber(int) - Method in class com.diozero.util.BoardPinInfo
 
getByDacNumber(int) - Method in class com.diozero.util.SystemInfo.UnknownBoardInfo
 
getByGpioNumber(int) - Method in class com.diozero.util.BoardPinInfo
 
getByGpioNumber(int) - Method in class com.diozero.util.SystemInfo.UnknownBoardInfo
 
getByMode(int) - Static method in enum com.diozero.api.SpiClockMode
 
getByName(String) - Method in class com.diozero.util.BoardPinInfo
 
getByPwmNumber(int) - Method in class com.diozero.util.BoardPinInfo
 
getChannel() - Method in class com.diozero.PiconZero.PiconZeroAnalogInputDevice
 
getChannel() - Method in class com.diozero.PiconZero.PiconZeroDigitalInputDevice
 
getChannel() - Method in class com.diozero.PiconZero.PiconZeroDigitalOutputDevice
 
getChannel() - Method in class com.diozero.PiconZero.PiconZeroPwmOutputDevice
 
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.HD44780Lcd
 
getCompass() - Method in class com.diozero.api.imu.ImuData
 
getCompassData() - Method in interface com.diozero.api.imu.ImuInterface
 
getControlFlags() - Method in enum com.diozero.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
 
getCuePoints() - Method in class com.diozero.api.AnimationObject
 
getDaemonInstance() - Static method in class com.diozero.util.DioZeroScheduler
 
getDataReadWriteBit() - Method in interface com.diozero.HD44780Lcd.LcdConnection
 
getDataReadWriteBit() - Method in class com.diozero.HD44780Lcd.PCF8574LcdConnection
 
getDataReadWriteBit() - Method in class com.diozero.HD44780Lcd.PiFaceCadLcdConnection
 
getDelay() - Method in enum com.diozero.BMP180.BMPMode
Return the conversion delay (in ms) associated with this sampling mode
getDelta() - Method in class com.diozero.api.AnimationObject.KeyFrame
 
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
 
getDeviceNumber() - Method in class com.diozero.api.PinInfo
 
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
getDuration() - Method in class com.diozero.api.AnimationObject
 
getEasing() - Method in class com.diozero.api.AnimationObject.KeyFrame
 
getEasingFunction() - Method in class com.diozero.api.AnimationObject.KeyFrame
 
getEnableBit() - Method in interface com.diozero.HD44780Lcd.LcdConnection
 
getEnableBit() - Method in class com.diozero.HD44780Lcd.PCF8574LcdConnection
 
getEnableBit() - Method in class com.diozero.HD44780Lcd.PiFaceCadLcdConnection
 
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
 
getFd() - Method in class com.diozero.util.MmapByteBuffer
 
getFps() - Method in class com.diozero.api.Animation
 
getGpio() - Method in class com.diozero.api.DeviceEvent
 
getGpio() - Method in class com.diozero.api.GpioDevice
Get the GPIO for this device.
getGpio() - Method in interface com.diozero.internal.spi.GpioDeviceInterface
 
getGpio() - Method in class com.diozero.legacy.MCP23008Old.MCP23008DigitalInputDevice
 
getGpio() - Method in class com.diozero.legacy.MCP23008Old.MCP23008DigitalOutputDevice
 
getGpio() - Method in class com.diozero.legacy.MCP23017Old.MCP23017DigitalInputDevice
 
getGpio() - Method in class com.diozero.legacy.MCP23017Old.MCP23017DigitalOutputDevice
 
getGpio() - Method in class com.diozero.PiconZero.PiconZeroDigitalInputDevice
 
getGpio() - Method in class com.diozero.PiconZero.PiconZeroDigitalOutputDevice
 
getGpio() - Method in class com.diozero.PiconZero.PiconZeroPwmOutputDevice
 
getGpio() - Method in class com.diozero.util.SoftwarePwmOutputDevice
 
getGyro() - Method in class com.diozero.api.imu.ImuData
 
getGyroData() - Method in interface com.diozero.api.imu.ImuInterface
 
getHeader() - Method in class com.diozero.api.PinInfo
 
getHeight() - Method in class com.diozero.SSD1306
 
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
 
getInputValue(int) - Method in class com.diozero.PiconZero
Read input value in PiconZero range
getKey() - Method in class com.diozero.internal.spi.AbstractDevice
 
getKey() - Method in interface com.diozero.internal.spi.DeviceInterface
 
getKeyFrames() - Method in class com.diozero.api.AnimationObject
 
getKeyPrefix() - Method in class com.diozero.api.PinInfo
 
getLdrResistance() - Method in class com.diozero.LDR
Read the resistance across the LDR.
getLeftMotor() - Method in class com.diozero.api.motor.DualMotor
 
getLength() - Method in class com.diozero.util.MmapByteBuffer
 
getLibraryPath() - Method in class com.diozero.util.BoardInfo
 
getLibraryPath() - Static method in class com.diozero.util.SystemInfo
 
getLoop() - Method in class com.diozero.api.Animation
 
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
 
getMaxFreq2v7() - Method in enum com.diozero.McpAdc.Type
 
getMaxFreq5v0() - Method in enum com.diozero.McpAdc.Type
 
getMemory() - Method in class com.diozero.util.BoardInfo
 
getMode() - Method in class com.diozero.api.DigitalInputOutputDevice
Get the input / output mode
getMode() - Method in enum com.diozero.api.SpiClockMode
 
getMode() - Method in interface com.diozero.internal.spi.GpioDigitalInputOutputDeviceInterface
 
getModel() - Method in class com.diozero.util.BoardInfo
 
getModes() - Method in class com.diozero.api.PinInfo
 
getMotor(int) - Method in class com.diozero.PiconZero
Get motor output value (normalised to range -1..1)
getMotorValue(int) - Method in class com.diozero.PiconZero
Get the current motor speed (PiconZero range -128..127)
getName() - Method in class com.diozero.api.PinInfo
 
getName() - Method in interface com.diozero.internal.spi.DeviceFactoryInterface
 
getName() - Method in class com.diozero.legacy.MCP23008Old
 
getName() - Method in class com.diozero.legacy.MCP23017Old
 
getName() - Method in class com.diozero.McpAdc
 
getName() - Method in class com.diozero.PCA9685
 
getName() - Method in class com.diozero.PCF8574
 
getName() - Method in class com.diozero.PCF8591
 
getName() - Method in enum com.diozero.PCF8591.InputMode
 
getName() - Method in class com.diozero.PiconZero
 
getName() - Method in class com.diozero.util.BoardInfo
 
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.PCF8591
 
getNumPins() - Method in enum com.diozero.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
 
getPinNumber() - Method in class com.diozero.api.PinInfo
 
getPins() - Method in class com.diozero.util.BoardPinInfo
 
getPollInterval() - Method in interface com.diozero.api.imu.ImuInterface
Get the recommended poll interval in milliseconds
getPressure() - Method in interface com.diozero.api.BarometerInterface
Get the pressure in kPa
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
getPwmChip(int) - Method in class com.diozero.internal.board.beaglebone.BeagleBoneBoardInfoProvider.BeagleBoneBlackBoardInfo
 
getPwmChip(int) - Method in class com.diozero.internal.board.chip.CHIPBoardInfoProvider.CHIPBoardInfo
 
getPwmChip(int) - Method in class com.diozero.internal.board.odroid.OdroidBoardInfoProvider.OdroidC1BoardInfo
 
getPwmChip(int) - Method in class com.diozero.internal.board.odroid.OdroidBoardInfoProvider.OdroidC2BoardInfo
 
getPwmChip(int) - Method in class com.diozero.internal.board.tinkerboard.TinkerBoardBoardInfoProvider.TinkerBoardBoardInfo
 
getPwmChip(int) - Method in class com.diozero.util.BoardInfo
 
getPwmFrequency(int) - Method in interface com.diozero.internal.spi.PwmOutputDeviceFactoryInterface
 
getPwmFrequency(int) - Method in class com.diozero.PCA9685
 
getPwmFrequency(int) - Method in class com.diozero.PiconZero
 
getPwmFrequency() - Method in class com.diozero.sandpit.Servo
 
getPwmNum() - Method in class com.diozero.api.PwmPinInfo
 
getPwmNum() - Method in interface com.diozero.internal.spi.PwmOutputDeviceInterface
Get the device PWM output device number
getPwmNum() - Method in class com.diozero.PiconZero.PiconZeroPwmOutputDevice
 
getPwmNum() - Method in class com.diozero.util.SoftwarePwmOutputDevice
 
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
 
getRegisterSelectBit() - Method in interface com.diozero.HD44780Lcd.LcdConnection
 
getRegisterSelectBit() - Method in class com.diozero.HD44780Lcd.PCF8574LcdConnection
 
getRegisterSelectBit() - Method in class com.diozero.HD44780Lcd.PiFaceCadLcdConnection
 
getRelativeHumidity() - Method in interface com.diozero.api.HygrometerInterface
Get the relative humidity in percent.
getRelativeHumidity() - Method in class com.diozero.BME280
 
getRelativeHumidity() - Method in class com.diozero.HTS221
 
getResolution() - Method in enum com.diozero.McpAdc.Type
 
getRevision() - Method in class com.diozero.PiconZero
Get the board revision details
getRightMotor() - Method in class com.diozero.api.motor.DualMotor
 
getRowCount() - Method in class com.diozero.HD44780Lcd
 
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
 
getSpeed() - Method in class com.diozero.api.Animation
Get the current speed
getStatus() - Method in class com.diozero.sandpit.MFRC522.Response
 
getTemperature() - Method in class com.diozero.api.imu.ImuData
 
getTemperature() - Method in interface com.diozero.api.ThermometerInterface
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.AnimationObject.KeyFrame
 
getValue() - Method in class com.diozero.api.DigitalInputDevice
Read the current underlying state of the input pin.
getValue() - Method in interface com.diozero.api.DigitalInputDeviceInterface
 
getValue() - Method in class com.diozero.api.DigitalInputEvent
Returns the underlying GPIO state.
getValue() - Method in class com.diozero.api.DigitalInputOutputDevice
Read the current underlying state of the input pin.
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.MotorEvent
 
getValue() - Method in interface com.diozero.api.motor.MotorInterface
 
getValue() - Method in class com.diozero.api.motor.PwmMotor
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.PwmOutputDevice
Get the current PWM output value (0..1).
getValue() - Method in interface com.diozero.internal.spi.AnalogInputDeviceInterface
 
getValue() - Method in interface com.diozero.internal.spi.GpioDigitalDeviceInterface
 
getValue() - Method in interface com.diozero.internal.spi.PwmOutputDeviceInterface
Get the current PWM output value (0..1)
getValue(int) - Method in class com.diozero.legacy.MCP23008Old
 
getValue() - Method in class com.diozero.legacy.MCP23008Old.MCP23008DigitalInputDevice
 
getValue() - Method in class com.diozero.legacy.MCP23008Old.MCP23008DigitalOutputDevice
 
getValue(int) - Method in class com.diozero.legacy.MCP23017Old
 
getValue() - Method in class com.diozero.legacy.MCP23017Old.MCP23017DigitalInputDevice
 
getValue() - Method in class com.diozero.legacy.MCP23017Old.MCP23017DigitalOutputDevice
 
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.PCF8574
 
getValue(int) - Method in class com.diozero.PCF8591
Read the analog value in the range 0..1
getValue(int) - Method in class com.diozero.PiconZero
Read input value in normalised range (0..1)
getValue() - Method in enum com.diozero.PiconZero.InputConfig
 
getValue() - Method in enum com.diozero.PiconZero.OutputConfig
 
getValue() - Method in class com.diozero.PiconZero.PiconZeroAnalogInputDevice
 
getValue() - Method in class com.diozero.PiconZero.PiconZeroAnalogOutputDevice
 
getValue() - Method in class com.diozero.PiconZero.PiconZeroDigitalInputDevice
 
getValue() - Method in class com.diozero.PiconZero.PiconZeroDigitalOutputDevice
 
getValue() - Method in class com.diozero.PiconZero.PiconZeroPwmOutputDevice
 
getValue() - Method in class com.diozero.PiconZeroMotor
Get the relative output value for the motor
getValue() - Method in class com.diozero.sandpit.Servo
 
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.EpollEvent
 
getValue() - Method in class com.diozero.util.MutableByte
 
getValue() - Method in class com.diozero.util.SoftwarePwmOutputDevice
 
getValues() - Method in class com.diozero.api.motor.DualMotor
 
getValues() - Method in class com.diozero.BME280
 
getValues(int) - Method in class com.diozero.PCF8574
 
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
 
getVRef() - Method in class com.diozero.api.AnalogInputDevice
 
getVRef() - Method in interface com.diozero.internal.spi.AnalogInputDeviceFactoryInterface
 
getVRef() - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
getVRef() - Method in class com.diozero.McpAdc
 
getVRef() - Method in class com.diozero.PCF8591
 
getVRef() - Method in class com.diozero.PiconZero
 
getWidth() - Method in class com.diozero.SSD1306
 
GP2Y0A21YK - Class in com.diozero
Sharp GP2Y0A21YK distance sensor.
GP2Y0A21YK(int) - Constructor for class com.diozero.GP2Y0A21YK
 
GP2Y0A21YK(AnalogInputDeviceFactoryInterface, int) - Constructor for class com.diozero.GP2Y0A21YK
 
gpio - Variable in class com.diozero.api.GpioDevice
 
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
 
GpioDigitalDeviceInterface - Interface in com.diozero.internal.spi
 
GpioDigitalInputDeviceInterface - Interface in com.diozero.internal.spi
 
GpioDigitalInputOutputDeviceInterface - Interface in com.diozero.internal.spi
 
GpioDigitalOutputDeviceInterface - Interface in com.diozero.internal.spi
 
GpioEventTrigger - Enum in com.diozero.api
 
GpioExpander - Interface 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
 
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
HD44780Lcd - Class in com.diozero
LCD with HD44780 controller.
Code based on this Raspberry-Pi Spy article, Python code.
HD44780Lcd(HD44780Lcd.LcdConnection, int, int) - Constructor for class com.diozero.HD44780Lcd
 
HD44780Lcd.Characters - Class in com.diozero
 
HD44780Lcd.LcdConnection - Interface in com.diozero
 
HD44780Lcd.PCF8574LcdConnection - Class in com.diozero
 
HD44780Lcd.PiFaceCadLcdConnection - Class in com.diozero
 
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
 
HygrometerInterface - Interface in com.diozero.api
 

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
 
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
 
IN - Static variable in class com.diozero.api.easing.Back
 
IN - Static variable in class com.diozero.api.easing.Bounce
 
IN - Static variable in class com.diozero.api.easing.Circular
 
IN - Static variable in class com.diozero.api.easing.Cubic
 
IN - Static variable in class com.diozero.api.easing.Elastic
 
IN - Static variable in class com.diozero.api.easing.Exponential
 
IN - Static variable in class com.diozero.api.easing.Quad
 
IN - Static variable in class com.diozero.api.easing.Quart
 
IN - Static variable in class com.diozero.api.easing.Quintic
 
IN - Static variable in class com.diozero.api.easing.Sine
 
IN_OUT - Static variable in class com.diozero.api.easing.Back
 
IN_OUT - Static variable in class com.diozero.api.easing.Bounce
 
IN_OUT - Static variable in class com.diozero.api.easing.Circular
 
IN_OUT - Static variable in class com.diozero.api.easing.Cubic
 
IN_OUT - Static variable in class com.diozero.api.easing.Elastic
 
IN_OUT - Static variable in class com.diozero.api.easing.Exponential
 
IN_OUT - Static variable in class com.diozero.api.easing.Quad
 
IN_OUT - Static variable in class com.diozero.api.easing.Quart
 
IN_OUT - Static variable in class com.diozero.api.easing.Quintic
 
IN_OUT - Static variable in class com.diozero.api.easing.Sine
 
INFINITE_ITERATIONS - Static variable in class com.diozero.api.DigitalOutputDevice
 
INFINITE_ITERATIONS - Static variable in class com.diozero.api.PwmOutputDevice
 
initialiseBoardInfo() - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
initialiseBoardInfo() - Method in interface com.diozero.internal.spi.NativeDeviceFactoryInterface
 
InputEventListener<T extends DeviceEvent> - Interface in com.diozero.api
 
INPUTS_HEADER - Static variable in class com.diozero.PiconZero.PiconZeroBoardPinInfo
 
invertDisplay(boolean) - Method in class com.diozero.SSD1306
Sets if the display should be inverted
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 interface com.diozero.api.motor.MotorInterface
 
isActive() - Method in class com.diozero.api.motor.PwmMotor
 
isActive() - Method in class com.diozero.PiconZeroMotor
 
isActive() - Method in class com.diozero.sandpit.TB6612FNGMotor
 
isActiveHigh() - Method in class com.diozero.api.DigitalInputDevice
Get active high configuration.
isBacklightEnabled() - Method in class com.diozero.HD44780Lcd
 
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.HD44780Lcd
 
isCursorEnabled() - Method in class com.diozero.HD44780Lcd
 
isDataInHighNibble() - Method in interface com.diozero.HD44780Lcd.LcdConnection
 
isDataInHighNibble() - Method in class com.diozero.HD44780Lcd.PCF8574LcdConnection
 
isDataInHighNibble() - Method in class com.diozero.HD44780Lcd.PiFaceCadLcdConnection
 
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.HD44780Lcd
 
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
 
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.HD44780Lcd
 
isShutdown() - Method in class com.diozero.internal.spi.AbstractDeviceFactory
 
isShutdown() - Method in interface com.diozero.internal.spi.DeviceFactoryInterface
 
isSigned() - Method in enum com.diozero.McpAdc.Type
 
isSupported(DeviceMode) - Method in class com.diozero.api.PinInfo
 
isValidId(String) - Static method in enum com.diozero.W1ThermSensor.Type
 

K

KeyFrame() - Constructor for class com.diozero.api.AnimationObject.KeyFrame
 
KeyFrame(float) - Constructor for class com.diozero.api.AnimationObject.KeyFrame
 

L

LDR - Class in com.diozero
LDR(int, float) - Constructor for class com.diozero.LDR
 
LDR(AnalogInputDeviceFactoryInterface, int, float) - Constructor for class com.diozero.LDR
 
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
 
LibraryLoader - Class in com.diozero.util
 
LibraryLoader() - Constructor for class com.diozero.util.LibraryLoader
 
Linear - Class in com.diozero.api.easing
 
Linear() - Constructor for class com.diozero.api.easing.Linear
 
LINEAR - Static variable in class com.diozero.api.easing.Linear
 
listeners - Variable in class com.diozero.api.GpioInputDevice
 
loadLibrary(Class<?>, String) - Static method in class com.diozero.util.LibraryLoader
 
lookup(String, String) - Method in class com.diozero.internal.board.beaglebone.BeagleBoneBoardInfoProvider
 
lookup(String, String) - Method in class com.diozero.internal.board.chip.CHIPBoardInfoProvider
 
lookup(String, String) - Method in class com.diozero.internal.board.odroid.OdroidBoardInfoProvider
 
lookup(String, String) - Method in class com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider
 
lookup(String, String) - Method in class com.diozero.internal.board.tinkerboard.TinkerBoardBoardInfoProvider
 
lookup(String, String) - Method in interface com.diozero.util.BoardInfoProvider
 
lookupBoardInfo(String, 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
 
LuminositySensorInterface - Interface in com.diozero.api
 

M

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.beaglebone.BeagleBoneBoardInfoProvider
 
MAKE - Static variable in class com.diozero.internal.board.chip.CHIPBoardInfoProvider
 
MAKE - Static variable in class com.diozero.internal.board.odroid.OdroidBoardInfoProvider
 
MAKE - Static variable in class com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider
 
mapToSysFsGpioNumber(int) - Method in class com.diozero.internal.board.chip.CHIPBoardInfoProvider.CHIPBoardInfo
 
mapToSysFsGpioNumber(int) - Method in class com.diozero.util.BoardPinInfo
 
MAX_ANALOG_INPUT_VALUE - Static variable in class com.diozero.PiconZero
 
MAX_MOTOR_VALUE - Static variable in class com.diozero.PiconZero
 
MAX_OUTPUT_VALUE - Static variable in class com.diozero.PiconZero
 
MCP23008 - Class in com.diozero
 
MCP23008() - Constructor for class com.diozero.MCP23008
 
MCP23008(int) - Constructor for class com.diozero.MCP23008
 
MCP23008(int, int) - Constructor for class com.diozero.MCP23008
 
MCP23008(int, int, int) - Constructor for class com.diozero.MCP23008
 
MCP23008(int, int, int, int) - Constructor for class com.diozero.MCP23008
 
MCP23008DigitalInputDevice(MCP23008Old, String, int, GpioEventTrigger) - Constructor for class com.diozero.legacy.MCP23008Old.MCP23008DigitalInputDevice
 
MCP23008DigitalOutputDevice(MCP23008Old, String, int, boolean) - Constructor for class com.diozero.legacy.MCP23008Old.MCP23008DigitalOutputDevice
 
MCP23008Old - Class in com.diozero.legacy
MCP23008Old() - Constructor for class com.diozero.legacy.MCP23008Old
 
MCP23008Old(int) - Constructor for class com.diozero.legacy.MCP23008Old
 
MCP23008Old(int, int, int) - Constructor for class com.diozero.legacy.MCP23008Old
 
MCP23008Old.InterruptMode - Enum in com.diozero.legacy
 
MCP23008Old.MCP23008DigitalInputDevice - Class in com.diozero.legacy
 
MCP23008Old.MCP23008DigitalOutputDevice - Class in com.diozero.legacy
 
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
 
MCP23017DigitalInputDevice(MCP23017Old, String, int, GpioEventTrigger) - Constructor for class com.diozero.legacy.MCP23017Old.MCP23017DigitalInputDevice
 
MCP23017DigitalOutputDevice(MCP23017Old, String, int, boolean) - Constructor for class com.diozero.legacy.MCP23017Old.MCP23017DigitalOutputDevice
 
MCP23017Old - Class in com.diozero.legacy
MCP23017Old() - Constructor for class com.diozero.legacy.MCP23017Old
 
MCP23017Old(int) - Constructor for class com.diozero.legacy.MCP23017Old
 
MCP23017Old(int, int) - Constructor for class com.diozero.legacy.MCP23017Old
 
MCP23017Old(int, int, int) - Constructor for class com.diozero.legacy.MCP23017Old
 
MCP23017Old(int, int, int, int) - Constructor for class com.diozero.legacy.MCP23017Old
 
MCP23017Old.MCP23017DigitalInputDevice - Class in com.diozero.legacy
 
MCP23017Old.MCP23017DigitalOutputDevice - Class in com.diozero.legacy
 
MCP23S17 - Class in com.diozero
 
MCP23S17(int) - Constructor for class com.diozero.MCP23S17
 
MCP23S17(int, int) - Constructor for class com.diozero.MCP23S17
 
MCP23S17(int, int, int) - Constructor for class com.diozero.MCP23S17
 
MCP23S17(int, int, int, int) - Constructor for class com.diozero.MCP23S17
 
MCP23S17(int, int, int, int, int) - Constructor for class com.diozero.MCP23S17
 
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, float) - Constructor for class com.diozero.McpAdc
 
McpAdc(McpAdc.Type, int, int, float) - Constructor for class com.diozero.McpAdc
 
McpAdc.McpAdcBoardPinInfo - Class in com.diozero
 
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.
McpAdcBoardPinInfo(McpAdc.Type) - Constructor for class com.diozero.McpAdc.McpAdcBoardPinInfo
 
MemoryInspector - Class in com.diozero.util
 
MemoryInspector() - Constructor for class com.diozero.util.MemoryInspector
 
MFRC522 - Class in com.diozero.sandpit
MFRC522(int, int) - Constructor for class com.diozero.sandpit.MFRC522
 
MFRC522(int, int, int) - Constructor for class com.diozero.sandpit.MFRC522
 
MFRC522(int, int, DigitalOutputDevice) - Constructor for class com.diozero.sandpit.MFRC522
 
MFRC522.Response - Class in com.diozero.sandpit
 
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
 
MIN_MOTOR_VALUE - Static variable in class com.diozero.PiconZero
 
MmapBufferNative - Class in com.diozero.util
 
MmapBufferNative() - Constructor for class com.diozero.util.MmapBufferNative
 
MmapByteBuffer - Class in com.diozero.util
 
MmapByteBuffer(int, int, int, ByteBuffer) - Constructor for class com.diozero.util.MmapByteBuffer
 
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
 
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
 
MOTORS_HEADER - Static variable in class com.diozero.PiconZero.PiconZeroBoardPinInfo
 
moveCursorLeft() - Method in class com.diozero.HD44780Lcd
 
moveCursorRight() - Method in class com.diozero.HD44780Lcd
 
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
 
next() - Method in class com.diozero.api.Animation
Jump to the next segment in the queue.
NOT_DEFINED - Static variable in class com.diozero.api.PinInfo
 
notify(Object, long, char) - 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
 
NUM_INPUT_CHANNELS - Static variable in class com.diozero.PiconZero
 
NUM_MOTORS - Static variable in class com.diozero.PiconZero
 
NUM_OUTPUT_CHANNELS - Static variable in class com.diozero.PiconZero
 

O

ODROID_C1 - Static variable in class com.diozero.internal.board.odroid.OdroidBoardInfoProvider
 
ODROID_C2 - Static variable in class com.diozero.internal.board.odroid.OdroidBoardInfoProvider
 
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.OdroidC1BoardInfo - Class in com.diozero.internal.board.odroid
 
OdroidBoardInfoProvider.OdroidC2BoardInfo - Class in com.diozero.internal.board.odroid
OdroidC1BoardInfo() - Constructor for class com.diozero.internal.board.odroid.OdroidBoardInfoProvider.OdroidC1BoardInfo
 
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, Action) - 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
 
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
 
OUT - Static variable in class com.diozero.api.easing.Back
 
OUT - Static variable in class com.diozero.api.easing.Bounce
 
OUT - Static variable in class com.diozero.api.easing.Circular
 
OUT - Static variable in class com.diozero.api.easing.Cubic
 
OUT - Static variable in class com.diozero.api.easing.Elastic
 
OUT - Static variable in class com.diozero.api.easing.Exponential
 
OUT - Static variable in class com.diozero.api.easing.Quad
 
OUT - Static variable in class com.diozero.api.easing.Quart
 
OUT - Static variable in class com.diozero.api.easing.Quintic
 
OUT - Static variable in class com.diozero.api.easing.Sine
 
OutputDeviceInterface - Interface in com.diozero.api
 
OUTPUTS_HEADER - Static variable in class com.diozero.PiconZero.PiconZeroBoardPinInfo
 

P

P5_HEADER - Static variable in class com.diozero.internal.board.raspberrypi.RaspberryPiBoardInfoProvider.PiABPlusBoardInfo
 
P8_HEADER - Static variable in class com.diozero.internal.board.beaglebone.BeagleBoneBoardInfoProvider.BeagleBoneBlackBoardInfo
 
P9_HEADER - Static variable in class com.diozero.internal.board.beaglebone.BeagleBoneBoardInfoProvider.BeagleBoneBlackBoardInfo
 
pad(String, int) - Static method in class com.diozero.util.StringUtil
 
pause() - Method in class com.diozero.api.Animation
Pause an animation while retaining the current progress and segment queue.
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
 
PCA9685.PCA9685BoardPinInfo - Class in com.diozero
 
PCA9685BoardPinInfo() - Constructor for class com.diozero.PCA9685.PCA9685BoardPinInfo
 
PCF8574 - Class in com.diozero
 
PCF8574(int, int, int, int) - Constructor for class com.diozero.PCF8574
 
PCF8574.PCF8574BoardPinInfo - Class in com.diozero
 
PCF8574BoardPinInfo() - Constructor for class com.diozero.PCF8574.PCF8574BoardPinInfo
 
PCF8574LcdConnection(int) - Constructor for class com.diozero.HD44780Lcd.PCF8574LcdConnection
 
PCF8574LcdConnection(int, int) - Constructor for class com.diozero.HD44780Lcd.PCF8574LcdConnection
 
PCF8591 - Class in com.diozero
Analog to Digital Converter.
PCF8591() - Constructor for class com.diozero.PCF8591
 
PCF8591(int) - Constructor for class com.diozero.PCF8591
 
PCF8591(int, int, PCF8591.InputMode, boolean, float) - Constructor for class com.diozero.PCF8591
 
PCF8591.InputMode - Enum in com.diozero
 
PCF8591.PCF8591BoardPinInfo - Class in com.diozero
 
PCF8591BoardPinInfo(PCF8591.InputMode) - Constructor for class com.diozero.PCF8591.PCF8591BoardPinInfo
 
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_AUTH_KEY_A - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_AUTH_KEY_B - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_HALT - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_MF_DECREMENT - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_MF_INCREMENT - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_MF_RESTORE - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_MF_TRANSFER - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_MF_WRITE - 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_SEL_CL1 - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_SEL_CL2 - Static variable in class com.diozero.sandpit.MFRC522
 
PICC_SEL_CL3 - 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
 
PiconZero - Class in com.diozero
 
PiconZero() - Constructor for class com.diozero.PiconZero
 
PiconZero(int, int) - Constructor for class com.diozero.PiconZero
 
PiconZero.InputConfig - Enum in com.diozero
 
PiconZero.OutputConfig - Enum in com.diozero
 
PiconZero.PiconZeroAnalogInputDevice - Class in com.diozero
 
PiconZero.PiconZeroAnalogOutputDevice - Class in com.diozero
 
PiconZero.PiconZeroBoardPinInfo - Class in com.diozero
 
PiconZero.PiconZeroDigitalInputDevice - Class in com.diozero
 
PiconZero.PiconZeroDigitalOutputDevice - Class in com.diozero
 
PiconZero.PiconZeroPwmOutputDevice - Class in com.diozero
 
PiconZeroAnalogInputDevice(PiconZero, String, PinInfo) - Constructor for class com.diozero.PiconZero.PiconZeroAnalogInputDevice
 
PiconZeroAnalogOutputDevice(PiconZero, String, int, int) - Constructor for class com.diozero.PiconZero.PiconZeroAnalogOutputDevice
 
PiconZeroBoardPinInfo() - Constructor for class com.diozero.PiconZero.PiconZeroBoardPinInfo
 
PiconZeroDigitalInputDevice(PiconZero, String, PinInfo, GpioPullUpDown, GpioEventTrigger) - Constructor for class com.diozero.PiconZero.PiconZeroDigitalInputDevice
 
PiconZeroDigitalOutputDevice(PiconZero, String, int, int, boolean) - Constructor for class com.diozero.PiconZero.PiconZeroDigitalOutputDevice
 
PiconZeroMotor - Class in com.diozero
 
PiconZeroMotor(PiconZero, int) - Constructor for class com.diozero.PiconZeroMotor
 
PiconZeroPwmOutputDevice(PiconZero, String, int, int, float) - Constructor for class com.diozero.PiconZero.PiconZeroPwmOutputDevice
 
PiFaceCadLcdConnection(int) - Constructor for class com.diozero.HD44780Lcd.PiFaceCadLcdConnection
 
PinInfo - Class in com.diozero.api
 
PinInfo(String, String, int, int, String, Set<DeviceMode>) - Constructor for class com.diozero.api.PinInfo
 
play() - Method in class com.diozero.api.Animation
Play the animation.
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
 
Potentiometer - Class in com.diozero
Supports taking readings from a potentiometer.
Potentiometer(int) - Constructor for class com.diozero.Potentiometer
 
Potentiometer(AnalogInputDeviceFactoryInterface, int) - Constructor for class com.diozero.Potentiometer
 
processData() - Method in class com.diozero.api.imu.ImuBase
 
processEvents() - Method in class com.diozero.util.EpollNative
 
provisionAnalogInputDevice(int) - Method in interface com.diozero.internal.spi.AnalogInputDeviceFactoryInterface
 
provisionAnalogInputDevice(int) - Method in class com.diozero.PiconZero
 
provisionAnalogOutputDevice(int) - Method in interface com.diozero.internal.spi.AnalogOutputDeviceFactoryInterface
 
provisionDigitalInputDevice(int, GpioPullUpDown, GpioEventTrigger) - Method in interface com.diozero.internal.spi.GpioDeviceFactoryInterface
 
provisionDigitalInputOutputDevice(int, DeviceMode) - Method in interface com.diozero.internal.spi.GpioDeviceFactoryInterface
 
provisionDigitalOutputDevice(int, boolean) - Method in interface com.diozero.internal.spi.GpioDeviceFactoryInterface
 
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
 
provisionPwmOutputDevice(int, float) - Method in interface com.diozero.internal.spi.PwmOutputDeviceFactoryInterface
 
provisionSpiDevice(int, int, int, SpiClockMode, boolean) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
provisionSpiDevice(int, int, int, SpiClockMode, boolean) - 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.
PWM_OUTPUT - Static variable in class com.diozero.api.PinInfo
 
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
 
PwmMotor - Class in com.diozero.api.motor
Generic bi-directional motor controlled by separate forward / backward PWM output GPIOs
PwmMotor(int, int) - Constructor for class com.diozero.api.motor.PwmMotor
 
PwmMotor(PwmOutputDeviceFactoryInterface, int, int) - Constructor for class com.diozero.api.motor.PwmMotor
 
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
 
PwmPinInfo - Class in com.diozero.api
 
PwmPinInfo(String, String, int, int, int, String, Set<DeviceMode>) - Constructor for class com.diozero.api.PwmPinInfo
 
PwmType - Enum in com.diozero.api
 

Q

Quad - Class in com.diozero.api.easing
 
Quad() - Constructor for class com.diozero.api.easing.Quad
 
Quart - Class in com.diozero.api.easing
 
Quart() - Constructor for class com.diozero.api.easing.Quart
 
Quintic - Class in com.diozero.api.easing
 
Quintic() - Constructor for class com.diozero.api.easing.Quintic
 

R

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
 
RC522 - Class in com.diozero.sandpit
Information courtesy of joan.
RC522() - Constructor for class com.diozero.sandpit.RC522
 
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
 
read(byte) - Method in class com.diozero.sandpit.MFRC522
 
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
 
readByte(int) - Method in class com.diozero.legacy.MCP23017Old
 
readByte(int) - Method in class com.diozero.MCP23008
 
readByte(int) - Method in class com.diozero.MCP23017
 
readByte(int) - Method in class com.diozero.MCP23S17
 
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
 
register(String, Object, PollEventListener) - Method in class com.diozero.util.EpollNative
 
registerDeviceFactory(DeviceFactoryInterface) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
registerDeviceFactory(DeviceFactoryInterface) - Method in interface com.diozero.internal.spi.NativeDeviceFactoryInterface
 
removeAllListeners() - Method in class com.diozero.api.GpioInputDevice
Remove all listeners.
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
 
removeListener() - Method in class com.diozero.PiconZero.PiconZeroDigitalInputDevice
 
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.PiconZero
Reset the board.
reset() - Method in class com.diozero.sandpit.MFRC522
Perform soft reset of AddicoreRFID Module
Response(byte, byte[]) - Constructor for class com.diozero.sandpit.MFRC522.Response
 
Response(byte, byte[], int) - Constructor for class com.diozero.sandpit.MFRC522.Response
 
returnHome() - Method in class com.diozero.HD44780Lcd
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
 
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
 
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.api.Animation
 
run() - Method in class com.diozero.util.SoftwarePwmOutputDevice
 
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
 
SERVO_CENTRE - Static variable in class com.diozero.PiconZero
 
ServoUtil - Class in com.diozero.util
 
ServoUtil() - Constructor for class com.diozero.util.ServoUtil
 
set() - Method in class com.diozero.util.Event
 
setAllPixels(int, int, int, boolean) - Method in class com.diozero.PiconZero
Sets all pixels with the selected red, green and blue values (0 to 255) [Available from firmware revision 07]
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
setBacklightEnabled(boolean) - Method in class com.diozero.HD44780Lcd
 
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
 
setBrightness(int) - Method in class com.diozero.PiconZero
 
setCharacter(int, int, char) - Method in class com.diozero.HD44780Lcd
 
setContrast(byte) - Method in class com.diozero.SSD1306
Sets the display contract.
setCursorPosition(int, int) - Method in class com.diozero.HD44780Lcd
 
setDebounceTime(float) - Method in class com.diozero.sandpit.DebouncedDigitalInputDevice
 
setDebounceTimeMillis(int) - Method in interface com.diozero.internal.spi.GpioDigitalInputDeviceInterface
 
setDebounceTimeMillis(int) - Method in class com.diozero.legacy.MCP23008Old.MCP23008DigitalInputDevice
 
setDebounceTimeMillis(int) - Method in class com.diozero.legacy.MCP23017Old.MCP23017DigitalInputDevice
 
setDebounceTimeMillis(int) - Method in class com.diozero.PiconZero.PiconZeroDigitalInputDevice
 
setDirections(int, byte) - Method in interface com.diozero.api.GpioExpander
 
setDirections(int, byte) - Method in class com.diozero.legacy.MCP23008Old
 
setDirections(int, byte) - Method in class com.diozero.PCF8574
 
setDisplayOn(boolean) - Method in class com.diozero.SSD1306
 
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
 
setInputConfig(int, PiconZero.InputConfig) - Method in class com.diozero.PiconZero
Set configuration of selected input channel
setInputMode(int) - Method in class com.diozero.PCF8574
 
setListener(InputEventListener<T>) - Method in class com.diozero.internal.spi.AbstractInputDevice
 
setListener(InputEventListener<DigitalInputEvent>) - Method in interface com.diozero.internal.spi.GpioDigitalInputDeviceInterface
 
setListener(InputEventListener<DigitalInputEvent>) - Method in class com.diozero.PiconZero.PiconZeroDigitalInputDevice
 
setLog(boolean) - Method in class com.diozero.sandpit.MFRC522
 
setLoop(boolean) - Method in class com.diozero.api.Animation
 
setMode(DeviceMode) - Method in class com.diozero.api.DigitalInputOutputDevice
Set the input / output mode
setMode(DeviceMode) - Method in interface com.diozero.internal.spi.GpioDigitalInputOutputDeviceInterface
 
setMotor(int, float) - Method in class com.diozero.PiconZero
Set motor output value (normalised to range -1..1)
setMotorValue(int, int) - Method in class com.diozero.PiconZero
Set motor output value (PiconZero range -128..127)
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
 
setOutputConfig(int, PiconZero.OutputConfig) - Method in class com.diozero.PiconZero
Set configuration of selected output
setOutputEnabledFlag(boolean) - Method in class com.diozero.PCF8591
 
setOutputMode(int) - Method in class com.diozero.PCF8574
 
setOutputValue(int, int) - Method in class com.diozero.PiconZero
Set output data for selected output channel in PiconZero range.
setPixel(int, int, int, int, boolean) - Method in class com.diozero.PiconZero
Set the colour of an individual pixel (always output channel 5)
setPixel(int, int, boolean) - Method in class com.diozero.SSD1306
 
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
 
setPwmFrequency(int, int) - Method in class com.diozero.PiconZero
 
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.HD44780Lcd
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(boolean) - Method in class com.diozero.api.DigitalInputOutputDevice
Set the output value (if mode.
setValue(float) - Method in class com.diozero.api.DigitalOutputDevice
 
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 interface com.diozero.api.OutputDeviceInterface
 
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.AnalogOutputDeviceInterface
 
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(boolean) - Method in class com.diozero.legacy.MCP23008Old.MCP23008DigitalOutputDevice
 
setValue(int, boolean) - Method in class com.diozero.legacy.MCP23008Old
 
setValue(boolean) - Method in class com.diozero.legacy.MCP23017Old.MCP23017DigitalOutputDevice
 
setValue(int, boolean) - Method in class com.diozero.legacy.MCP23017Old
 
setValue(int, float) - Method in class com.diozero.PCA9685
Set PWM output on a specific channel, value must be 0..1
setValue(int, boolean) - Method in class com.diozero.PCF8574
 
setValue(int, float) - Method in class com.diozero.PCF8591
Set the analog output value.
setValue(float) - Method in class com.diozero.PiconZero.PiconZeroAnalogOutputDevice
 
setValue(boolean) - Method in class com.diozero.PiconZero.PiconZeroDigitalOutputDevice
 
setValue(float) - Method in class com.diozero.PiconZero.PiconZeroPwmOutputDevice
 
setValue(int, float) - Method in class com.diozero.PiconZero
Set output value for the specified channel (normalised).
setValue(int, boolean) - Method in class com.diozero.PiconZero
 
setValue(float) - Method in class com.diozero.sandpit.Servo
 
setValue(float) - Method in class com.diozero.util.SoftwarePwmOutputDevice
 
setValueInternal(float) - Method in class com.diozero.api.PwmOutputDevice
 
setValues(int, byte) - Method in interface com.diozero.api.GpioExpander
 
setValues(float, float) - Method in class com.diozero.api.motor.DualMotor
Set the speed and direction for both motors (clockwise / counter-clockwise)
setValues(int, byte) - Method in class com.diozero.legacy.MCP23008Old
 
setValues(int, byte) - Method in class com.diozero.PCF8574
 
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.HD44780Lcd
 
shiftDisplayRight() - Method in class com.diozero.HD44780Lcd
 
shutdown - Variable in class com.diozero.internal.spi.AbstractDeviceFactory
 
shutdown() - Method in class com.diozero.internal.spi.AbstractDeviceFactory
 
shutdown() - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
shutdown() - Method in interface com.diozero.internal.spi.DeviceFactoryInterface
 
shutdownAll() - Static method in class com.diozero.util.DioZeroScheduler
 
Sine - Class in com.diozero.api.easing
 
Sine() - Constructor for class com.diozero.api.easing.Sine
 
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
 
SoftwarePwmOutputDevice - Class in com.diozero.util
 
SoftwarePwmOutputDevice(String, DeviceFactoryInterface, GpioDigitalOutputDeviceInterface, int, float) - Constructor for class com.diozero.util.SoftwarePwmOutputDevice
 
SpiClockMode - Enum in com.diozero.api
SPI Clock Polarity Clock Phase Clock Edge Mode (CPOL/CKP) (CPHA) (CKE/NCPHA) 0 0 0 1 1 0 1 0 2 1 0 1 3 1 1 0
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, boolean) - Constructor for class com.diozero.api.SpiDevice
 
SpiDeviceFactoryInterface - Interface in com.diozero.internal.spi
 
SpiDeviceInterface - Interface in com.diozero.internal.spi
 
SSD1306 - Class in com.diozero
SSD1306(int, int, DigitalOutputDevice, DigitalOutputDevice) - Constructor for class com.diozero.SSD1306
 
start() - Method in class com.diozero.util.SoftwarePwmOutputDevice
 
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.Animation
Immediately stop the animation and flush the segment queue.
stop() - Method in class com.diozero.api.motor.DigitalMotor
 
stop() - Method in class com.diozero.api.motor.DualMotor
 
stop() - Method in interface com.diozero.api.motor.MotorInterface
 
stop() - Method in class com.diozero.api.motor.PwmMotor
 
stop() - Method in class com.diozero.PiconZeroMotor
 
stop() - Method in class com.diozero.sandpit.TB6612FNGMotor
 
stop() - Method in class com.diozero.util.EpollNative
 
stop() - Method in class com.diozero.util.PollNative
 
stop() - Method in class com.diozero.util.SoftwarePwmOutputDevice
 
stopCrypto1() - Method in class com.diozero.sandpit.MFRC522
 
stopRead() - Method in class com.diozero.api.imu.ImuBase
 
stopRead() - Method in interface com.diozero.api.imu.ImuInterface
 
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
 
submit(Runnable) - Method in class com.diozero.util.DioZeroScheduler
 
SystemInfo - Class in com.diozero.util
 
SystemInfo() - Constructor for class com.diozero.util.SystemInfo
 
SystemInfo.UnknownBoardInfo - Class in com.diozero.util
 

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
 
ThermometerInterface - Interface in com.diozero.api
 
TINKER_BOARD - Static variable in class com.diozero.internal.board.tinkerboard.TinkerBoardBoardInfoProvider
 
TinkerBoardBoardInfoProvider - Class in com.diozero.internal.board.tinkerboard
 
TinkerBoardBoardInfoProvider() - Constructor for class com.diozero.internal.board.tinkerboard.TinkerBoardBoardInfoProvider
 
TinkerBoardBoardInfoProvider.TinkerBoardBoardInfo - Class in com.diozero.internal.board.tinkerboard
 
TMP36 - Class in com.diozero
Support for reading temperature values from a TMP36 Temperature Sensor by Analog Devices
TMP36(AnalogInputDeviceFactoryInterface, int, float) - Constructor for class com.diozero.TMP36
 
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.AnimationObject.KeyFrame
 
toString() - Method in class com.diozero.api.AnimationObject
 
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.api.PinInfo
 
toString() - Method in class com.diozero.sandpit.MFRC522.Response
 
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
 

U

U13_HEADER - Static variable in class com.diozero.internal.board.chip.CHIPBoardInfoProvider.CHIPBoardInfo
 
U14_HEADER - Static variable in class com.diozero.internal.board.chip.CHIPBoardInfoProvider.CHIPBoardInfo
 
UNASSIGNED - Static variable in interface com.diozero.api.I2CConstants
 
UnknownBoardInfo() - Constructor for class com.diozero.util.SystemInfo.UnknownBoardInfo
 
unsetBit(byte) - Method in class com.diozero.util.MutableByte
 
updatePixels() - Method in class com.diozero.PiconZero
 
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.legacy.MCP23008Old
 
valueChanged(DigitalInputEvent) - Method in class com.diozero.legacy.MCP23017Old
 
valueOf(String) - Static method in enum com.diozero.api.DeviceMode
Returns the enum constant of this type with the specified name.
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.legacy.MCP23008Old.InterruptMode
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.PCF8591.InputMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.PiconZero.InputConfig
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.PiconZero.OutputConfig
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.DeviceMode
Returns an array containing the constants of this enum type, in the order they are declared.
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.legacy.MCP23008Old.InterruptMode
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.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.PiconZero.InputConfig
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.PiconZero.OutputConfig
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
 
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.
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(ByteBuffer) - Method in class com.diozero.api.SpiDevice
 
write(byte) - Method in interface com.diozero.HD44780Lcd.LcdConnection
 
write(byte) - Method in class com.diozero.HD44780Lcd.PCF8574LcdConnection
 
write(byte) - Method in class com.diozero.HD44780Lcd.PiFaceCadLcdConnection
 
write(int, int, ByteBuffer) - Method in interface com.diozero.internal.spi.I2CDeviceInterface
 
write(ByteBuffer) - Method in interface com.diozero.internal.spi.I2CDeviceInterface
 
write(ByteBuffer) - Method in interface com.diozero.internal.spi.SpiDeviceInterface
 
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
 
writeByte(int, byte) - Method in class com.diozero.legacy.MCP23017Old
 
writeByte(int, byte) - Method in class com.diozero.MCP23008
 
writeByte(int, byte) - Method in class com.diozero.MCP23017
 
writeByte(int, byte) - Method in class com.diozero.MCP23S17
 
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 K L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2016–2017 mattjlewis. All rights reserved.