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

A

AbstractDevice - Class in com.diozero.internal.spi
 
AbstractDevice(String, DeviceFactoryInterface) - Constructor for class com.diozero.internal.spi.AbstractDevice
 
AbstractDeviceFactory - Class in com.diozero.internal.spi
 
AbstractDeviceFactory() - Constructor for class com.diozero.internal.spi.AbstractDeviceFactory
 
AbstractInputDevice<T extends DeviceEvent> - Class in com.diozero.internal.spi
 
AbstractInputDevice(String, DeviceFactoryInterface) - Constructor for class com.diozero.internal.spi.AbstractInputDevice
 
Action - Interface in com.diozero.api
 
action() - Method in interface com.diozero.api.Action
 
activeHigh - Variable in class com.diozero.api.DigitalInputDevice
 
addListener(InputEventListener<AnalogInputEvent>, float) - Method in class com.diozero.api.AnalogInputDevice
 
addListener(InputEventListener<AnalogInputEvent>, float, int) - Method in class com.diozero.api.AnalogInputDevice
 
addListener(InputEventListener<T>) - Method in class com.diozero.api.GpioInputDevice
 
addListener(MotorListener) - Method in class com.diozero.api.motor.MotorBase
 
addListener(MotorListener) - Method in interface com.diozero.api.motor.MotorInterface
 
addOrientationListener(OrientationListener) - Method in interface com.diozero.api.imu.ImuInterface
 
ADDR_SIZE_10 - Static variable in interface com.diozero.api.I2CConstants
 
ADDR_SIZE_7 - Static variable in interface com.diozero.api.I2CConstants
 
addTapListener(TapListener) - Method in interface com.diozero.api.imu.ImuInterface
 
AnalogInputDevice - Class in com.diozero.api
 
AnalogInputDevice(int, float) - Constructor for class com.diozero.api.AnalogInputDevice
 
AnalogInputDevice(AnalogInputDeviceFactoryInterface, int, float) - Constructor for class com.diozero.api.AnalogInputDevice
 
AnalogInputDeviceFactoryInterface - Interface in com.diozero.internal.spi
 
AnalogInputEvent - Class in com.diozero.api
 
AnalogInputEvent(int, long, long, float, float) - Constructor for class com.diozero.api.AnalogInputEvent
 
asInt(byte) - Static method in class com.diozero.util.IOUtil
Get an unsigned int value from a signed byte

B

backward() - Method in class com.diozero.api.motor.DigitalMotor
 
backward(float) - Method in class com.diozero.api.motor.DualMotor
 
backward() - Method in class com.diozero.api.motor.Motor
Backward at full speed
backward(float) - Method in class com.diozero.api.motor.Motor
 
backward(float) - Method in interface com.diozero.api.motor.MotorInterface
 
backward(float) - Method in class com.diozero.sandpit.TB6612FNGMotor
 
backwardLeft(float) - Method in class com.diozero.api.motor.DualMotor
 
backwardRight(float) - Method in class com.diozero.api.motor.DualMotor
 
BaseNativeDeviceFactory - Class in com.diozero.internal.spi
Helper class for instantiating different devices via the configured provider.
BaseNativeDeviceFactory() - Constructor for class com.diozero.internal.spi.BaseNativeDeviceFactory
 
beep() - Method in class com.diozero.Buzzer
 
beep(float, float, int, boolean) - Method in class com.diozero.Buzzer
 
BitManipulation - Class in com.diozero.util
 
BitManipulation() - Constructor for class com.diozero.util.BitManipulation
 
blink() - Method in class com.diozero.LED
 
blink(float, float, int, boolean) - Method in class com.diozero.LED
 
blink() - Method in class com.diozero.PwmLed
 
blink(float, float, int, boolean) - Method in class com.diozero.PwmLed
 
BMP180 - Class in com.diozero
Bosch BMP180 I2C temperature and pressure sensor
BMP180(BMP180.BMPMode) - Constructor for class com.diozero.BMP180
Constructor
BMP180(int, int, BMP180.BMPMode) - Constructor for class com.diozero.BMP180
 
BMP180.BMPMode - Enum in com.diozero
Relationship between sampling mode and conversion delay (in ms) for each sampling mode Ultra low power: 4.5 ms minimum conversion delay Standard: 7.5 ms High Resolution: 13.5 ms Ultra high Resolution: 25.5 ms
BMP180Test - Class in com.diozero.sampleapps
JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
BMP180Test() - Constructor for class com.diozero.sampleapps.BMP180Test
 
BUS_0 - Static variable in interface com.diozero.api.I2CConstants
 
BUS_1 - Static variable in interface com.diozero.api.I2CConstants
 
Button - Class in com.diozero
 
Button(int) - Constructor for class com.diozero.Button
 
Button(int, GpioPullUpDown) - Constructor for class com.diozero.Button
 
Button(GpioDeviceFactoryInterface, int, GpioPullUpDown) - Constructor for class com.diozero.Button
 
ButtonControlledLed - Class in com.diozero.sampleapps
Control an LED with a button To run: JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
ButtonControlledLed() - Constructor for class com.diozero.sampleapps.ButtonControlledLed
 
ButtonTest - Class in com.diozero.sampleapps
Input test application To run: JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
ButtonTest() - Constructor for class com.diozero.sampleapps.ButtonTest
 
Buzzer - Class in com.diozero
 
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)
CamJamKitDualMotor - Class in com.diozero
CamJam EduKit 3 Robot.
CamJamKitDualMotor() - Constructor for class com.diozero.CamJamKitDualMotor
 
CamJamLineFollower - Class in com.diozero.sampleapps
 
CamJamLineFollower() - Constructor for class com.diozero.sampleapps.CamJamLineFollower
 
circleLeft(float, float) - Method in class com.diozero.api.motor.DualMotor
 
circleRight(float, float) - Method in class com.diozero.api.motor.DualMotor
 
clear() - Method in class com.diozero.util.Event
 
close() - Method in class com.diozero.api.AnalogInputDevice
 
close() - Method in class com.diozero.api.DigitalInputDevice
 
close() - Method in class com.diozero.api.DigitalOutputDevice
 
close() - Method in class com.diozero.api.I2CDevice
 
close() - Method in class com.diozero.api.motor.DigitalMotor
 
close() - Method in class com.diozero.api.motor.DualMotor
 
close() - Method in class com.diozero.api.motor.Motor
 
close() - Method in class com.diozero.api.PwmOutputDevice
 
close() - Method in class com.diozero.api.SpiDevice
 
close() - Method in class com.diozero.BMP180
 
close() - Method in class com.diozero.HCSR04
Free device GPIOs
close() - Method in class com.diozero.internal.spi.AbstractDevice
 
close() - Method in interface com.diozero.internal.spi.GpioAnalogInputDeviceInterface
 
close() - Method in class com.diozero.MCP23017
 
close() - Method in class com.diozero.McpAdc
 
close() - Method in class com.diozero.PCA9685
 
close() - Method in class com.diozero.RgbLed
 
close() - Method in class com.diozero.sampleapps.CamJamLineFollower
 
close() - Method in class com.diozero.sandpit.HCSR04UsingEvents
Free device GPIOs
close() - Method in class com.diozero.sandpit.HCSR04UsingWait
Free device GPIOs
close() - Method in class com.diozero.sandpit.Servo
 
close() - Method in class com.diozero.sandpit.TB6612FNGMotor
 
close() - Method in class com.diozero.TSL2561
 
closeAll() - Method in class com.diozero.internal.DeviceStates
 
closeAll() - Method in class com.diozero.internal.spi.AbstractDeviceFactory
 
closeAll() - Method in interface com.diozero.internal.spi.DeviceFactoryInterface
 
closeChannel(int) - Method in class com.diozero.PCA9685
 
closed(DeviceInterface) - Method in class com.diozero.internal.DeviceStates
 
closeDevice() - Method in class com.diozero.internal.spi.AbstractDevice
 
closePin(int) - Method in class com.diozero.MCP23017
 
com.diozero - package com.diozero
Support for devices representing actual devices such as LEDs, Buttons including GPIO, SPI and I2C devices.
com.diozero.api - package com.diozero.api
Lower-level APIs for interfacing with devices.
com.diozero.api.imu - package com.diozero.api.imu
 
com.diozero.api.motor - package com.diozero.api.motor
 
com.diozero.internal - package com.diozero.internal
 
com.diozero.internal.spi - package com.diozero.internal.spi
 
com.diozero.sampleapps - package com.diozero.sampleapps
Sample applications.
com.diozero.sandpit - package com.diozero.sandpit
 
com.diozero.util - package com.diozero.util
 
createAnalogInputPin(String, int) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
createDigitalInputPin(String, int, GpioPullUpDown, GpioEventTrigger) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
createDigitalOutputPin(String, int, boolean) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
createI2CDevice(String, int, int, int, int) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
createPwmOutputPin(String, int, float, PwmType) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
createSpiDevice(String, int, int, int, SpiClockMode) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 

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_SPI_CLOCK_FREQUENCY - Static variable in interface com.diozero.api.SPIConstants
 
DEFAULT_SPI_CLOCK_MODE - Static variable in interface com.diozero.api.SPIConstants
 
DEFAULT_SPI_CONTROLLER - Static variable in interface com.diozero.api.SPIConstants
 
DEFAULT_WORD_LENGTH - Static variable in interface com.diozero.api.SPIConstants
 
device - Variable in class com.diozero.api.DigitalInputDevice
 
DeviceAlreadyOpenedException - Exception in com.diozero.api
 
DeviceAlreadyOpenedException(String) - Constructor for exception com.diozero.api.DeviceAlreadyOpenedException
 
deviceClosed(DeviceInterface) - Method in class com.diozero.internal.spi.AbstractDeviceFactory
 
deviceClosed(DeviceInterface) - Method in interface com.diozero.internal.spi.DeviceFactoryInterface
 
DeviceEvent - Class in com.diozero.api
 
DeviceEvent(int, long, long) - Constructor for class com.diozero.api.DeviceEvent
 
DeviceFactoryHelper - Class in com.diozero.internal
Helper class for instantiating different devices via the configured provider.
DeviceFactoryHelper() - Constructor for class com.diozero.internal.DeviceFactoryHelper
 
DeviceFactoryInterface - Interface in com.diozero.internal.spi
 
DeviceInterface - Interface in com.diozero.internal.spi
 
deviceOpened(DeviceInterface) - Method in class com.diozero.internal.spi.AbstractDeviceFactory
 
deviceOpened(DeviceInterface) - Method in interface com.diozero.internal.spi.DeviceFactoryInterface
 
DeviceStates - Class in com.diozero.internal
 
DeviceStates() - Constructor for class com.diozero.internal.DeviceStates
 
deviceStates - Variable in class com.diozero.internal.spi.AbstractDeviceFactory
 
DigitalInputDevice - Class in com.diozero.api
Represents a generic input device.
DigitalInputDevice(int) - Constructor for class com.diozero.api.DigitalInputDevice
 
DigitalInputDevice(int, GpioPullUpDown, GpioEventTrigger) - Constructor for class com.diozero.api.DigitalInputDevice
 
DigitalInputDevice(GpioDeviceFactoryInterface, int, GpioPullUpDown, GpioEventTrigger) - Constructor for class com.diozero.api.DigitalInputDevice
 
DigitalInputEvent - Class in com.diozero.api
 
DigitalInputEvent(int, long, long, boolean) - Constructor for class com.diozero.api.DigitalInputEvent
 
DigitalMotor - Class in com.diozero.api.motor
 
DigitalMotor(int, int) - Constructor for class com.diozero.api.motor.DigitalMotor
 
DigitalOutputDevice - Class in com.diozero.api
 
DigitalOutputDevice(int) - Constructor for class com.diozero.api.DigitalOutputDevice
 
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
 
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
 

E

enableListener() - Method in class com.diozero.api.AnalogInputDevice
 
enableListener() - Method in class com.diozero.api.DigitalInputDevice
 
enableListener() - Method in class com.diozero.api.GpioInputDevice
 
enableListener() - Method in class com.diozero.internal.spi.AbstractInputDevice
 
equals(byte) - Method in class com.diozero.util.MutableByte
 
Event - Class in com.diozero.util
 
Event() - Constructor for class com.diozero.util.Event
 
execute(Runnable) - Method in class com.diozero.util.DioZeroScheduler
 

F

fadeInOutLoop(float, int, int, boolean) - Method in class com.diozero.api.PwmOutputDevice
 
followLine() - Method in class com.diozero.sampleapps.CamJamLineFollower
 
forward() - Method in class com.diozero.api.motor.DigitalMotor
 
forward(float) - Method in class com.diozero.api.motor.DualMotor
 
forward() - Method in class com.diozero.api.motor.Motor
Forward at full speed
forward(float) - Method in class com.diozero.api.motor.Motor
 
forward(float) - Method in interface com.diozero.api.motor.MotorInterface
 
forward(float) - Method in class com.diozero.sandpit.TB6612FNGMotor
 
forwardLeft(float) - Method in class com.diozero.api.motor.DualMotor
 
forwardRight(float) - Method in class com.diozero.api.motor.DualMotor
 

G

getAccel() - Method in class com.diozero.api.imu.ImuData
 
getAccelerometerData() - Method in interface com.diozero.api.imu.ImuInterface
 
getAddress() - Method in class com.diozero.api.I2CDevice
 
getAddressSize() - Method in class com.diozero.api.I2CDevice
 
getAvailableSensors() - Static method in class com.diozero.sandpit.W1ThermSensor
 
getAvailableSensors(String) - Static method in class com.diozero.sandpit.W1ThermSensor
 
getBitMask(int...) - Static method in class com.diozero.util.BitManipulation
 
getBitMask(int) - Static method in class com.diozero.util.BitManipulation
 
getByMode(int) - Static method in enum com.diozero.api.SpiClockMode
 
getChipSelect() - Method in class com.diozero.api.SpiDevice
 
getChipSelect() - Method in interface com.diozero.internal.spi.SpiDeviceInterface
 
getClockFrequency() - Method in class com.diozero.api.I2CDevice
 
getCompass() - Method in class com.diozero.api.imu.ImuData
 
getCompassData() - Method in interface com.diozero.api.imu.ImuInterface
 
getController() - Method in class com.diozero.api.I2CDevice
 
getController() - Method in class com.diozero.api.SpiDevice
 
getController() - Method in interface com.diozero.internal.spi.SpiDeviceInterface
 
getCount() - Method in class com.diozero.api.imu.TapEvent
 
getDaemonInstance() - Static method in class com.diozero.util.DioZeroScheduler
 
getDelay() - Method in enum com.diozero.BMP180.BMPMode
Return the conversion delay (in ms) associated with this sampling mode
getDevice(String) - Method in class com.diozero.internal.DeviceStates
 
getDevice(String, Class<T>) - Method in class com.diozero.internal.spi.AbstractDeviceFactory
 
getDirection() - Method in class com.diozero.api.imu.TapEvent
 
getDistanceCm() - Method in interface com.diozero.api.DistanceSensorInterface
 
getDistanceCm() - Method in class com.diozero.HCSR04
Send a pulse to HCSR04 and compute the echo to obtain distance
getDistanceCm() - Method in class com.diozero.sandpit.GP2Y0A21YK
 
getDistanceCm() - Method in class com.diozero.sandpit.HCSR04UsingEvents
Send a pulse to HCSR04 and compute the echo to obtain distance
getDistanceCm() - Method in class com.diozero.sandpit.HCSR04UsingWait
Send a pulse to HCSR04 and compute the echo to obtain distance
getEpochTime() - Method in class com.diozero.api.DeviceEvent
 
getEpochTime() - Method in class com.diozero.api.motor.MotorEvent
 
getEventAge() - Method in class com.diozero.api.SmoothedInputDevice
 
getEventDetectPeriod() - Method in class com.diozero.api.SmoothedInputDevice
 
getGyro() - Method in class com.diozero.api.imu.ImuData
 
getGyroData() - Method in interface com.diozero.api.imu.ImuInterface
 
getId() - Method in enum com.diozero.sandpit.W1ThermSensor.Type
 
getImuData() - Method in interface com.diozero.api.imu.ImuInterface
 
getImuName() - Method in interface com.diozero.api.imu.ImuInterface
 
getKey() - Method in class com.diozero.internal.spi.AbstractDevice
 
getKey() - Method in interface com.diozero.internal.spi.DeviceInterface
 
getLdrResistance() - Method in class com.diozero.LDR
 
getLeftMotor() - Method in class com.diozero.api.motor.DualMotor
 
getLuminosity() - Method in interface com.diozero.api.LuminositySensorInterface
 
getLuminosity() - Method in class com.diozero.LDR
 
getLuminosity() - Method in class com.diozero.TSL2561
Converts the raw sensor values to the standard SI lux equivalent.
getMode() - Method in enum com.diozero.api.SpiClockMode
 
getName() - Method in interface com.diozero.internal.spi.DeviceFactoryInterface
 
getName() - Method in class com.diozero.MCP23017
 
getName() - Method in class com.diozero.McpAdc
 
getName() - Method in class com.diozero.PCA9685
 
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
 
getOrientation() - Method in class com.diozero.api.imu.OrientationEvent
 
getPin() - Method in class com.diozero.api.DeviceEvent
 
getPin() - Method in interface com.diozero.internal.spi.GpioAnalogInputDeviceInterface
 
getPin() - Method in interface com.diozero.internal.spi.GpioDeviceInterface
 
getPin() - Method in interface com.diozero.internal.spi.PwmOutputDeviceInterface
Get the device pin number
getPinNumber() - Method in class com.diozero.api.GpioDevice
 
getPollInterval() - Method in interface com.diozero.api.imu.ImuInterface
Get the recommended poll interval in milliseconds
getPressure() - Method in interface com.diozero.api.PressureSensorInterface
 
getPressure() - Method in class com.diozero.BMP180
Read the barometric pressure (in hPa) from the device.
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
 
getPulseWidthMs() - Method in class com.diozero.sandpit.Servo
Get the current servo pulse width in milliseconds
getPwmFrequency(int) - Method in interface com.diozero.internal.spi.PwmOutputDeviceFactoryInterface
 
getPwmFrequency(int) - Method in class com.diozero.PCA9685
 
getPwmFrequency() - Method in class com.diozero.sandpit.Servo
 
getQuaternion() - Method in class com.diozero.api.imu.ImuData
 
getRange() - Method in enum com.diozero.McpAdc.Type
 
getResistance() - Method in class com.diozero.sandpit.Potentiometer
 
getResolution() - Method in enum com.diozero.McpAdc.Type
 
getRightMotor() - Method in class com.diozero.api.motor.DualMotor
 
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.sandpit.GP2Y0A21YK
 
getScaledValue() - Method in class com.diozero.sandpit.Potentiometer
 
getScaledValue() - Method in class com.diozero.TMP36
 
getSerialNumber() - Method in class com.diozero.sandpit.W1ThermSensor
 
getShort(ByteBuffer) - Static method in class com.diozero.util.IOUtil
 
getShort(ByteBuffer, ByteOrder) - Static method in class com.diozero.util.IOUtil
 
getTemperature() - Method in class com.diozero.api.imu.ImuData
 
getTemperature() - Method in interface com.diozero.api.TemperatureSensorInterface
Get temperature in degrees celsius
getTemperature() - Method in class com.diozero.BMP180
Method for reading the temperature.
getTemperature() - Method in class com.diozero.sandpit.W1ThermSensor
Get temperature in degrees celsius
getTemperature() - Method in class com.diozero.TMP36
 
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
 
getType() - Method in class com.diozero.sandpit.W1ThermSensor
 
getUInt(ByteBuffer) - Static method in class com.diozero.util.IOUtil
 
getUInt(ByteBuffer, ByteOrder) - Static method in class com.diozero.util.IOUtil
 
getUInt(ByteBuffer, int) - Static method in class com.diozero.util.IOUtil
 
getUInt(ByteBuffer, int, ByteOrder) - Static method in class com.diozero.util.IOUtil
 
getUnscaledValue() - Method in class com.diozero.api.AnalogInputDevice
Get the unscaled normalised value in the range 0..1 (if unsigned) or -1..1 (if signed)
getUnscaledValue() - Method in class com.diozero.api.AnalogInputEvent
Value from -1..1
getUShort(ByteBuffer) - Static method in class com.diozero.util.IOUtil
 
getUShort(ByteBuffer, ByteOrder) - Static method in class com.diozero.util.IOUtil
 
getVal() - Method in enum com.diozero.api.imu.TapEvent.TapAxisType
 
getValue() - Method in class com.diozero.api.DigitalInputDevice
 
getValue() - Method in class com.diozero.api.DigitalInputEvent
Returns the underlying GPIO state.
getValue() - Method in class com.diozero.api.motor.DigitalMotor
Represents the speed of the motor as a floating point value between -1 (full speed backward) and 1 (full speed forward)
getValue() - Method in class com.diozero.api.motor.Motor
Represents the speed of the motor as a floating point value between -1 (full speed backward) and 1 (full speed forward)
getValue() - Method in class com.diozero.api.motor.MotorEvent
 
getValue() - Method in interface com.diozero.api.motor.MotorInterface
 
getValue() - Method in class com.diozero.api.PwmOutputDevice
 
getValue() - Method in interface com.diozero.internal.spi.GpioAnalogInputDeviceInterface
 
getValue() - Method in interface com.diozero.internal.spi.GpioDigitalInputDeviceInterface
 
getValue() - Method in interface com.diozero.internal.spi.GpioDigitalOutputDeviceInterface
 
getValue() - Method in interface com.diozero.internal.spi.PwmOutputDeviceInterface
Get the current PWM output value (0..1)
getValue(int) - Method in class com.diozero.MCP23017
 
getValue(int) - Method in class com.diozero.McpAdc
Read the analog value in the range 0..1 or -1..1 (if the ADC type is signed)
getValue(int) - Method in class com.diozero.PCA9685
 
getValue() - Method in class com.diozero.sandpit.TB6612FNGMotor
Represents the speed of the motor as a floating point value between -1 (full speed backward) and 1 (full speed forward)
getValue() - Method in class com.diozero.util.MutableByte
 
getValues() - Method in class com.diozero.api.motor.DualMotor
 
GP2Y0A21YK - Class in com.diozero.sandpit
Sharp GP2Y0A21YK distance sensor.
GP2Y0A21YK(int) - Constructor for class com.diozero.sandpit.GP2Y0A21YK
 
GP2Y0A21YK(AnalogInputDeviceFactoryInterface, int) - Constructor for class com.diozero.sandpit.GP2Y0A21YK
 
GpioAnalogInputDeviceInterface - Interface in com.diozero.internal.spi
 
GpioDevice - Class in com.diozero.api
 
GpioDevice(int) - Constructor for class com.diozero.api.GpioDevice
 
GpioDeviceFactoryInterface - Interface in com.diozero.internal.spi
 
GpioDeviceInterface - Interface in com.diozero.internal.spi
 
GpioDigitalInputDeviceInterface - Interface in com.diozero.internal.spi
 
GpioDigitalOutputDeviceInterface - Interface in com.diozero.internal.spi
 
GpioEventTrigger - Enum in com.diozero.api
 
GpioInputDevice<T extends DeviceEvent> - Class in com.diozero.api
 
GpioInputDevice(int) - Constructor for class com.diozero.api.GpioInputDevice
 
GpioPerfTest - Class in com.diozero.sampleapps
GPIO output performance test application To run: JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
GpioPerfTest() - Constructor for class com.diozero.sampleapps.GpioPerfTest
 
GpioPullUpDown - Enum in com.diozero.api
 

H

hasAccelerometer() - Method in interface com.diozero.api.imu.ImuInterface
 
hasCompass() - Method in interface com.diozero.api.imu.ImuInterface
 
hasGyro() - Method in interface com.diozero.api.imu.ImuInterface
 
HCSR04 - Class in com.diozero
User's manual: https://docs.google.com/document/d/1Y-yZnNhMYy7rwhAgyL_pfa39RsB-x2qR4vP8saG73rE/edit# Product specification: http://www.micropik.com/PDF/HCSR04.pdf Provides 2cm - 400cm non-contact measurement function, the ranging accuracy can reach to 3mm You only need to supply a short 10uS pulse to the trigger input to start the ranging, and then the module will send out an 8 cycle burst of ultrasound at 40 kHz and raise its echo.
HCSR04(int, int) - Constructor for class com.diozero.HCSR04
Initialise GPIO to echo and trigger pins
HCSR04Test - Class in com.diozero.sampleapps
JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
HCSR04Test() - Constructor for class com.diozero.sampleapps.HCSR04Test
 
HCSR04UsingEvents - Class in com.diozero.sandpit
Note this version doesn't work as well as the event-based HCSR04UsingEvents version as the ns event timings aren't from the raw device unfortunately, only as they get processed in Java User's manual: https://docs.google.com/document/d/1Y-yZnNhMYy7rwhAgyL_pfa39RsB-x2qR4vP8saG73rE/edit# Product specification: http://www.micropik.com/PDF/HCSR04.pdf Provides 2cm - 400cm non-contact measurement function, the ranging accuracy can reach to 3mm You only need to supply a short 10uS pulse to the trigger input to start the ranging, and then the module will send out an 8 cycle burst of ultrasound at 40 kHz and raise its echo.
HCSR04UsingEvents(int, int) - Constructor for class com.diozero.sandpit.HCSR04UsingEvents
Initialise GPIO to echo and trigger pins
HCSR04UsingWait - Class in com.diozero.sandpit
User's manual: https://docs.google.com/document/d/1Y-yZnNhMYy7rwhAgyL_pfa39RsB-x2qR4vP8saG73rE/edit# Product specification: http://www.micropik.com/PDF/HCSR04.pdf Provides 2cm - 400cm non-contact measurement function, the ranging accuracy can reach to 3mm You only need to supply a short 10uS pulse to the trigger input to start the ranging, and then the module will send out an 8 cycle burst of ultrasound at 40 kHz and raise its echo.
HCSR04UsingWait(int, int) - Constructor for class com.diozero.sandpit.HCSR04UsingWait
Initialise GPIO to echo and trigger pins

I

I2CConstants - Interface in com.diozero.api
 
I2CDevice - Class in com.diozero.api
This is more of a utility class providing various read/write methods
I2CDevice(int, int, int, int) - Constructor for class com.diozero.api.I2CDevice
 
I2CDevice(I2CDeviceFactoryInterface, int, int, int, int) - 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
 
INFINITE_ITERATIONS - Static variable in class com.diozero.api.DigitalOutputDevice
 
INFINITE_ITERATIONS - Static variable in class com.diozero.api.PwmOutputDevice
 
InputEventListener<T extends DeviceEvent> - Interface in com.diozero.api
 
InputWaitTest - Class in com.diozero.sampleapps
Input test application To run: JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
InputWaitTest() - Constructor for class com.diozero.sampleapps.InputWaitTest
 
invokeAtFixedRate(Supplier<Float>, Consumer<Float>, long, long, TimeUnit) - Method in class com.diozero.util.DioZeroScheduler
 
IOUtil - Class in com.diozero.util
 
IOUtil() - Constructor for class com.diozero.util.IOUtil
 
isActive() - Method in class com.diozero.api.DigitalInputDevice
 
isActive() - Method in class com.diozero.api.DigitalInputEvent
 
isActive() - Method in class com.diozero.api.motor.DigitalMotor
 
isActive() - Method in class com.diozero.api.motor.Motor
 
isActive() - Method in interface com.diozero.api.motor.MotorInterface
 
isActive() - Method in class com.diozero.sandpit.TB6612FNGMotor
 
isActiveHigh() - Method in class com.diozero.api.DigitalInputDevice
 
isBitSet(byte, byte) - Static method in class com.diozero.util.BitManipulation
 
isBitSet(byte) - Method in class com.diozero.util.MutableByte
 
isDeviceOpened(String) - Method in class com.diozero.internal.spi.AbstractDeviceFactory
 
isDeviceOpened(String) - Method in interface com.diozero.internal.spi.DeviceFactoryInterface
 
isLit() - Method in class com.diozero.LED
 
isLit() - Method in class com.diozero.PwmLed
 
isModel33() - Method in enum com.diozero.McpAdc.Type
 
isModel3301() - Method in enum com.diozero.McpAdc.Type
 
isOn() - Method in class com.diozero.api.DigitalOutputDevice
 
isOn() - Method in class com.diozero.api.PwmOutputDevice
 
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
 
isReleased() - Method in class com.diozero.Button
 
isSigned() - Method in enum com.diozero.McpAdc.Type
 
isValidId(String) - Static method in enum com.diozero.sandpit.W1ThermSensor.Type
 

L

lastPinEvent - Variable in class com.diozero.api.WaitableDigitalInputDevice
 
LDR - Class in com.diozero
vRef vLDR GND | | | +---R1---+---LDR---+
LDR(int, float, float) - Constructor for class com.diozero.LDR
 
LDR(AnalogInputDeviceFactoryInterface, int, float, float) - Constructor for class com.diozero.LDR
 
LdrControlledLed - Class in com.diozero.sampleapps
Control the brightness of an LED by the brightness of an LDR To run: JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
LdrControlledLed() - Constructor for class com.diozero.sampleapps.LdrControlledLed
 
LDRListenerTest - Class in com.diozero.sampleapps
To run: JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
LDRListenerTest() - Constructor for class com.diozero.sampleapps.LDRListenerTest
 
LDRTest - Class in com.diozero.sampleapps
To run: JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
LDRTest() - Constructor for class com.diozero.sampleapps.LDRTest
 
LED - Class in com.diozero
 
LED(int) - Constructor for class com.diozero.LED
 
LED(int, boolean) - Constructor for class com.diozero.LED
 
LED(GpioDeviceFactoryInterface, int) - Constructor for class com.diozero.LED
 
LED(GpioDeviceFactoryInterface, int, boolean, boolean) - Constructor for class com.diozero.LED
 
LEDTest - Class in com.diozero.sampleapps
LED test application To run: JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
LEDTest() - Constructor for class com.diozero.sampleapps.LEDTest
 
listeners - Variable in class com.diozero.api.GpioInputDevice
 
LuminositySensorInterface - Interface in com.diozero.api
 

M

main(String[]) - Static method in class com.diozero.sampleapps.BMP180Test
 
main(String[]) - Static method in class com.diozero.sampleapps.ButtonControlledLed
 
main(String[]) - Static method in class com.diozero.sampleapps.ButtonTest
 
main(String[]) - Static method in class com.diozero.sampleapps.CamJamLineFollower
 
main(String[]) - Static method in class com.diozero.sampleapps.GpioPerfTest
 
main(String[]) - Static method in class com.diozero.sampleapps.HCSR04Test
 
main(String[]) - Static method in class com.diozero.sampleapps.InputWaitTest
 
main(String[]) - Static method in class com.diozero.sampleapps.LdrControlledLed
 
main(String[]) - Static method in class com.diozero.sampleapps.LDRListenerTest
 
main(String[]) - Static method in class com.diozero.sampleapps.LDRTest
 
main(String[]) - Static method in class com.diozero.sampleapps.LEDTest
 
main(String[]) - Static method in class com.diozero.sampleapps.MCP23017PerfTest
 
main(String[]) - Static method in class com.diozero.sampleapps.MCP23017Test
 
main(String[]) - Static method in class com.diozero.sampleapps.McpAdcTest
 
main(String[]) - Static method in class com.diozero.sampleapps.PCA9685ServoTest
 
main(String[]) - Static method in class com.diozero.sampleapps.PotentiometerTest
 
main(String[]) - Static method in class com.diozero.sampleapps.PwmLedTest
 
main(String[]) - Static method in class com.diozero.sampleapps.PwmTest
 
main(String[]) - Static method in class com.diozero.sampleapps.RandomLedFlicker
 
main(String[]) - Static method in class com.diozero.sampleapps.ServoTest
 
main(String[]) - Static method in class com.diozero.sampleapps.TMP36Test
 
main(String[]) - Static method in class com.diozero.sampleapps.TSL2561Test
 
main(String[]) - Static method in class com.diozero.sandpit.HCSR04UsingEvents
 
main(String[]) - Static method in class com.diozero.sandpit.HCSR04UsingWait
 
MCP23017 - Class in com.diozero
http://ww1.microchip.com/downloads/en/DeviceDoc/21952b.pdf The MCP23X17 consists of multiple 8-bit configuration registers for input, output and polarity selection.
MCP23017() - Constructor for class com.diozero.MCP23017
 
MCP23017(int) - Constructor for class com.diozero.MCP23017
 
MCP23017(int, int) - Constructor for class com.diozero.MCP23017
 
MCP23017(int, int, int) - Constructor for class com.diozero.MCP23017
 
MCP23017(int, int, int, int) - Constructor for class com.diozero.MCP23017
 
MCP23017PerfTest - Class in com.diozero.sampleapps
To run (note this hangs the Pi when using wiringPi provider): JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
MCP23017PerfTest() - Constructor for class com.diozero.sampleapps.MCP23017PerfTest
 
MCP23017Test - Class in com.diozero.sampleapps
To run (note this hangs the Pi when using wiringPi provider): JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
MCP23017Test() - Constructor for class com.diozero.sampleapps.MCP23017Test
 
MCP3001 - Static variable in class com.diozero.McpAdc
 
MCP3002 - Static variable in class com.diozero.McpAdc
 
MCP3004 - Static variable in class com.diozero.McpAdc
 
MCP3008 - Static variable in class com.diozero.McpAdc
 
MCP3201 - Static variable in class com.diozero.McpAdc
 
MCP3202 - Static variable in class com.diozero.McpAdc
 
MCP3204 - Static variable in class com.diozero.McpAdc
 
MCP3208 - Static variable in class com.diozero.McpAdc
 
MCP3301 - Static variable in class com.diozero.McpAdc
 
MCP3302 - Static variable in class com.diozero.McpAdc
 
MCP3304 - Static variable in class com.diozero.McpAdc
 
McpAdc - Class in com.diozero
 
McpAdc(McpAdc.Type, int) - Constructor for class com.diozero.McpAdc
 
McpAdc(McpAdc.Type, int, int) - Constructor for class com.diozero.McpAdc
 
McpAdc.Type - Enum in com.diozero
The MCP3204/3208 devices offer the choice of using the analog input channels configured as single-ended inputs or pseudo-differential pairs.
McpAdcTest - Class in com.diozero.sampleapps
MCP3xxx test application To run: JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
McpAdcTest() - Constructor for class com.diozero.sampleapps.McpAdcTest
 
MotionSensor - Class in com.diozero.sandpit
A PIR (Passive Infra-Red) motion sensor.
MotionSensor(int) - Constructor for class com.diozero.sandpit.MotionSensor
 
MotionSensor(int, int, int, int) - Constructor for class com.diozero.sandpit.MotionSensor
 
Motor - Class in com.diozero.api.motor
Generic bi-directional motor controlled by separate forward / backward PWM output pins
Motor(int, int) - Constructor for class com.diozero.api.motor.Motor
 
Motor(PwmOutputDeviceFactoryInterface, int, int) - Constructor for class com.diozero.api.motor.Motor
 
MotorBase - Class in com.diozero.api.motor
 
MotorBase() - Constructor for class com.diozero.api.motor.MotorBase
 
MotorEvent - Class in com.diozero.api.motor
 
MotorEvent(long, long, float) - Constructor for class com.diozero.api.motor.MotorEvent
 
MotorInterface - Interface in com.diozero.api.motor
 
MotorListener - Interface in com.diozero.api.motor
 
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
 
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
 

O

off() - Method in class com.diozero.api.DigitalOutputDevice
 
off() - Method in class com.diozero.api.PwmOutputDevice
 
off() - Method in class com.diozero.RgbLed
 
on() - Method in class com.diozero.api.DigitalOutputDevice
 
on() - Method in class com.diozero.api.PwmOutputDevice
 
on() - Method in class com.diozero.RgbLed
 
onOffLoop(float, float, int, boolean) - Method in class com.diozero.api.DigitalOutputDevice
 
onOffLoop(float, float, int, boolean) - Method in class com.diozero.api.PwmOutputDevice
 
opened(DeviceInterface) - Method in class com.diozero.internal.DeviceStates
 
orientationChange(OrientationEvent) - Method in interface com.diozero.api.imu.OrientationListener
 
OrientationEvent - Class in com.diozero.api.imu
 
OrientationEvent(OrientationEvent.OrientationType) - Constructor for class com.diozero.api.imu.OrientationEvent
 
OrientationEvent.OrientationType - Enum in com.diozero.api.imu
 
OrientationListener - Interface in com.diozero.api.imu
 

P

pause() - Static method in class com.diozero.util.SleepUtil
 
PCA9685 - Class in com.diozero
PCA9685 I2C-bus controlled 16-channel 12-bit PWM controller as used in the popular Adafruit PWM add-on board Datasheet: http://www.nxp.com/documents/data_sheet/PCA9685.pdf
PCA9685(int) - Constructor for class com.diozero.PCA9685
 
PCA9685(int, int, int) - Constructor for class com.diozero.PCA9685
 
PCA9685ServoTest - Class in com.diozero.sampleapps
To run: JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
PCA9685ServoTest() - Constructor for class com.diozero.sampleapps.PCA9685ServoTest
 
pinNumber - Variable in class com.diozero.api.GpioDevice
 
Potentiometer - Class in com.diozero.sandpit
 
Potentiometer(int, float, float) - Constructor for class com.diozero.sandpit.Potentiometer
 
Potentiometer(AnalogInputDeviceFactoryInterface, int, float, float) - Constructor for class com.diozero.sandpit.Potentiometer
 
PotentiometerTest - Class in com.diozero.sampleapps
 
PotentiometerTest() - Constructor for class com.diozero.sampleapps.PotentiometerTest
 
PressureSensorInterface - Interface in com.diozero.api
 
processData() - Method in class com.diozero.api.imu.ImuBase
 
provisionAnalogInputPin(int) - Method in interface com.diozero.internal.spi.AnalogInputDeviceFactoryInterface
 
provisionAnalogInputPin(int) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
provisionAnalogInputPin(int) - Method in class com.diozero.McpAdc
Device Factory SPI method
provisionDigitalInputPin(int, GpioPullUpDown, GpioEventTrigger) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
provisionDigitalInputPin(int, GpioPullUpDown, GpioEventTrigger) - Method in interface com.diozero.internal.spi.GpioDeviceFactoryInterface
 
provisionDigitalInputPin(int, GpioPullUpDown, GpioEventTrigger) - Method in class com.diozero.MCP23017
 
provisionDigitalOutputPin(int, boolean) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
provisionDigitalOutputPin(int, boolean) - Method in interface com.diozero.internal.spi.GpioDeviceFactoryInterface
 
provisionDigitalOutputPin(int, boolean) - Method in class com.diozero.MCP23017
 
provisionI2CDevice(int, int, int, int) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
provisionI2CDevice(int, int, int, int) - Method in interface com.diozero.internal.spi.I2CDeviceFactoryInterface
 
provisionPwmOutputPin(int, float) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
provisionPwmOutputPin(int, float) - Method in interface com.diozero.internal.spi.PwmOutputDeviceFactoryInterface
 
provisionPwmOutputPin(int, float) - Method in class com.diozero.PCA9685
 
provisionSpiDevice(int, int, int, SpiClockMode) - Method in class com.diozero.internal.spi.BaseNativeDeviceFactory
 
provisionSpiDevice(int, int, int, SpiClockMode) - Method in interface com.diozero.internal.spi.SpiDeviceFactoryInterface
 
pud - Variable in class com.diozero.api.DigitalInputDevice
 
pulse() - Method in class com.diozero.PwmLed
 
pulse(float, int, int, boolean) - Method in class com.diozero.PwmLed
 
PwmLed - Class in com.diozero
 
PwmLed(int) - Constructor for class com.diozero.PwmLed
 
PwmLed(int, float) - Constructor for class com.diozero.PwmLed
 
PwmLed(PwmOutputDeviceFactoryInterface, int) - Constructor for class com.diozero.PwmLed
 
PwmLed(PwmOutputDeviceFactoryInterface, int, float) - Constructor for class com.diozero.PwmLed
 
PwmLedTest - Class in com.diozero.sampleapps
PWM LED test application.
PwmLedTest() - Constructor for class com.diozero.sampleapps.PwmLedTest
 
PwmOutputDevice - Class in com.diozero.api
Represent a generic PWM output GPIO.
PwmOutputDevice(int) - Constructor for class com.diozero.api.PwmOutputDevice
 
PwmOutputDevice(int, float) - Constructor for class com.diozero.api.PwmOutputDevice
 
PwmOutputDevice(PwmOutputDeviceFactoryInterface, int, float) - Constructor for class com.diozero.api.PwmOutputDevice
 
PwmOutputDeviceFactoryInterface - Interface in com.diozero.internal.spi
 
PwmOutputDeviceInterface - Interface in com.diozero.internal.spi
 
PwmTest - Class in com.diozero.sampleapps
PWM output test application, currently only works with Pi4j backend PWM LED test application.
PwmTest() - Constructor for class com.diozero.sampleapps.PwmTest
 
PwmType - Enum in com.diozero.api
 

R

RandomLedFlicker - Class in com.diozero.sampleapps
To run: JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
RandomLedFlicker() - Constructor for class com.diozero.sampleapps.RandomLedFlicker
 
read(int, int, ByteBuffer) - Method in class com.diozero.api.I2CDevice
 
read(int, int, int) - Method in class com.diozero.api.I2CDevice
 
read(int, int, ByteBuffer) - Method in interface com.diozero.internal.spi.I2CDeviceInterface
 
readBit(int, int) - Method in class com.diozero.api.I2CDevice
Read a single bit from an 8-bit device register.
readBits(int, int, int) - Method in class com.diozero.api.I2CDevice
Read multiple bits from an 8-bit device register.
readByte(int) - Method in class com.diozero.api.I2CDevice
Read single byte from an 8-bit device register.
readByte(int, int) - Method in class com.diozero.api.I2CDevice
 
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, 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, int) - Method in class com.diozero.api.I2CDevice
 
readUShort(int, int, ByteOrder) - Method in class com.diozero.api.I2CDevice
 
removeAllListeners() - Method in class com.diozero.api.GpioInputDevice
 
removeListener(InputEventListener<T>) - Method in class com.diozero.api.GpioInputDevice
 
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
 
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
 
RgbLed(int, int, int) - Constructor for class com.diozero.RgbLed
 
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
 
RuntimeIOException - Exception in com.diozero.util
 
RuntimeIOException(Exception) - Constructor for exception com.diozero.util.RuntimeIOException
 
RuntimeIOException(String) - Constructor for exception com.diozero.util.RuntimeIOException
 
RyanteckDualMotor - Class in com.diozero
RTK MCB Robot.
RyanteckDualMotor() - Constructor for class com.diozero.RyanteckDualMotor
 

S

scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class com.diozero.util.DioZeroScheduler
 
Servo - Class in com.diozero.sandpit
 
Servo(int, int, float) - Constructor for class com.diozero.sandpit.Servo
 
Servo(PwmOutputDeviceFactoryInterface, int, int, float) - Constructor for class com.diozero.sandpit.Servo
 
ServoTest - Class in com.diozero.sampleapps
 
ServoTest() - Constructor for class com.diozero.sampleapps.ServoTest
 
ServoUtil - Class in com.diozero.util
 
ServoUtil() - Constructor for class com.diozero.util.ServoUtil
 
set() - Method in class com.diozero.util.Event
 
setAutoGain(boolean) - Method in class com.diozero.TSL2561
Enables or disables the auto-gain settings when reading data from the sensor
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
 
setDebounceTime(float) - Method in class com.diozero.sandpit.DebouncedDigitalInputDevice
 
setDebounceTimeMillis(int) - Method in interface com.diozero.internal.spi.GpioDigitalInputDeviceInterface
 
setEventAge(int) - Method in class com.diozero.api.SmoothedInputDevice
 
setGain(int) - Method in class com.diozero.TSL2561
Adjusts the gain on the TSL2561 (adjusts the sensitivity to light)
setGyro(Vector3D) - Method in class com.diozero.api.imu.ImuData
 
setListener(InputEventListener<T>) - Method in class com.diozero.internal.spi.AbstractInputDevice
 
setListener(InputEventListener<DigitalInputEvent>) - Method in interface com.diozero.internal.spi.GpioDigitalInputDeviceInterface
 
setOn(boolean) - Method in class com.diozero.api.DigitalOutputDevice
 
setPulseWidthMs(float) - Method in class com.diozero.sandpit.Servo
Set the servo pulse width in milliseconds
setPwmFrequency(int, int) - Method in interface com.diozero.internal.spi.PwmOutputDeviceFactoryInterface
 
setPwmFrequency(int, int) - Method in class com.diozero.PCA9685
 
setServoPulseWidthMs(int, double) - Method in class com.diozero.PCA9685
Set the pulse duration (micro-seconds) E.g.
setThreshold(int) - Method in class com.diozero.api.SmoothedInputDevice
 
setValue(float) - Method in class com.diozero.api.motor.MotorBase
Set the speed of the motor as a floating point value between -1 (full speed backward) and 1 (full speed forward)
setValue(float) - Method in interface com.diozero.api.motor.MotorInterface
 
setValue(float) - Method in class com.diozero.api.PwmOutputDevice
 
setValue(boolean) - Method in interface com.diozero.internal.spi.GpioDigitalOutputDeviceInterface
 
setValue(float) - Method in interface com.diozero.internal.spi.PwmOutputDeviceInterface
Set the PWM output value (0..1)
setValue(int, boolean) - Method in class com.diozero.MCP23017
 
setValue(int, float) - Method in class com.diozero.PCA9685
Set PWM output on a specific channel, value must be 0..1
setValueInternal(float) - Method in class com.diozero.api.PwmOutputDevice
 
setValues(float, float) - Method in class com.diozero.api.motor.DualMotor
Set the speed and direction for both motors (clockwise / counter-clockwise)
setValueUnsafe(boolean) - Method in class com.diozero.api.DigitalOutputDevice
Unsafe operation that has no synchronisation checks and doesn't factor in active low logic.
shutdownAll() - Static method in class com.diozero.util.DioZeroScheduler
 
size() - Method in class com.diozero.internal.DeviceStates
 
sleep(int, int) - Static method in class com.diozero.util.SleepUtil
Sleep for mill.nan seconds
sleepMillis(long) - Static method in class com.diozero.util.SleepUtil
Sleep for the specific number of milli-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
 
SpiClockMode - Enum in com.diozero.api
 
SPIConstants - Interface in com.diozero.api
 
SpiDevice - Class in com.diozero.api
https://www.raspberrypi.org/documentation/hardware/raspberrypi/spi/README.md For modern Raspberry Pis: 2 SPI controllers, 0 (SPI-0) and 1 (SPI-1) Controller 0 has 2 channels (CE-0 on physical pin 24, CE-1 on physical pin 26) Controller 1 has 3 channels (CE-0 on physical pin 12, CE-1 on physical pin 11, CE-2 on physical pin 36) SPI-1 is more limited that SPI-0 on the Raspberry Pi (https://www.raspberrypi.org/forums/viewtopic.php?t=81903&p=579154) - The SPI-1 clock is derived from the system clock therefore you have to be careful when over/underclocking to set the right divisor - Limited IRQ support, no thresholding on the FIFO except "TX empty" or "done".
SpiDevice(int) - Constructor for class com.diozero.api.SpiDevice
 
SpiDevice(int, int) - Constructor for class com.diozero.api.SpiDevice
 
SpiDevice(int, int, int, SpiClockMode) - Constructor for class com.diozero.api.SpiDevice
 
SpiDeviceFactoryInterface - Interface in com.diozero.internal.spi
 
SpiDeviceInterface - Interface in com.diozero.internal.spi
 
startRead() - Method in class com.diozero.api.imu.ImuBase
 
startRead() - Method in interface com.diozero.api.imu.ImuInterface
 
statusAll() - Static method in class com.diozero.util.DioZeroScheduler
 
stop() - Method in class com.diozero.api.motor.DigitalMotor
 
stop() - Method in class com.diozero.api.motor.DualMotor
 
stop() - Method in class com.diozero.api.motor.Motor
 
stop() - Method in interface com.diozero.api.motor.MotorInterface
 
stop() - Method in class com.diozero.sandpit.TB6612FNGMotor
 
stopRead() - Method in class com.diozero.api.imu.ImuBase
 
stopRead() - Method in interface com.diozero.api.imu.ImuInterface
 
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
 

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
 
tapped(TapEvent) - Method in interface com.diozero.api.imu.TapListener
 
TB6612FNGDualMotorDriver - Class in com.diozero.sandpit
Dual bi-directional motor controlled by a single PWM pin and separate forward / backward GPIO pins Toshiba TB6612FNG Dual Motor Driver such as this one from Pololu: https://www.pololu.com/product/713
TB6612FNGDualMotorDriver(int, int, int, int, int, int) - Constructor for class com.diozero.sandpit.TB6612FNGDualMotorDriver
 
TB6612FNGDualMotorDriver(PwmOutputDeviceFactoryInterface, int, int, int, int, int, int) - Constructor for class com.diozero.sandpit.TB6612FNGDualMotorDriver
 
TB6612FNGDualMotorDriver(DigitalOutputDevice, DigitalOutputDevice, PwmOutputDevice, DigitalOutputDevice, DigitalOutputDevice, PwmOutputDevice) - Constructor for class com.diozero.sandpit.TB6612FNGDualMotorDriver
 
TB6612FNGMotor - Class in com.diozero.sandpit
Bi-directional motor controlled by a single PWM pin and separate forward / backward GPIO pins Toshiba TB6612FNG Dual Motor Driver such as @see this one from Pololu Turn forward, set pin 1 to HIGH, pin 2 to LOW, and PWM to >0 Turn backward, set pin 1 to LOW, pin 2 to HIGH, PWM to >0
TB6612FNGMotor(DigitalOutputDevice, DigitalOutputDevice, PwmOutputDevice) - Constructor for class com.diozero.sandpit.TB6612FNGMotor
 
TemperaturePressureSensorInterface - Interface in com.diozero.api
 
TemperatureSensorInterface - Interface in com.diozero.api
 
test(int, int) - Static method in class com.diozero.sampleapps.ButtonControlledLed
 
test(int) - Static method in class com.diozero.sampleapps.ButtonTest
 
test(int, int) - Static method in class com.diozero.sampleapps.GpioPerfTest
 
test(int, int) - Static method in class com.diozero.sampleapps.HCSR04Test
 
test(int) - Static method in class com.diozero.sampleapps.InputWaitTest
 
test(McpAdc.Type, int, int, float, int, int) - Static method in class com.diozero.sampleapps.LdrControlledLed
 
test(McpAdc.Type, int, int, float, int) - Static method in class com.diozero.sampleapps.LDRListenerTest
 
test(McpAdc.Type, int, int, float, int) - Static method in class com.diozero.sampleapps.LDRTest
 
test(int) - Static method in class com.diozero.sampleapps.LEDTest
 
test(int, int, int, int) - Static method in class com.diozero.sampleapps.MCP23017Test
 
test(McpAdc.Type, int, int) - Static method in class com.diozero.sampleapps.McpAdcTest
 
test(int, int) - Static method in class com.diozero.sampleapps.PCA9685ServoTest
 
test(int, int, float, float) - Static method in class com.diozero.sampleapps.PotentiometerTest
 
test(int) - Static method in class com.diozero.sampleapps.PwmLedTest
 
test(int) - Static method in class com.diozero.sampleapps.PwmTest
 
test(int, int) - Static method in class com.diozero.sampleapps.ServoTest
 
test(McpAdc.Type, int, int, float, float) - Static method in class com.diozero.sampleapps.TMP36Test
 
test() - Static method in class com.diozero.sampleapps.TSL2561Test
 
testMovements(float, float) - Method in class com.diozero.sampleapps.CamJamLineFollower
 
TMP36 - Class in com.diozero
TMP36 temperature sensor
TMP36(AnalogInputDeviceFactoryInterface, int, float, float) - Constructor for class com.diozero.TMP36
 
TMP36Test - Class in com.diozero.sampleapps
TMP36 temperature sensor test To run: JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
TMP36Test() - Constructor for class com.diozero.sampleapps.TMP36Test
 
toggle() - Method in class com.diozero.api.DigitalOutputDevice
 
toggle() - Method in class com.diozero.api.PwmOutputDevice
 
toggle() - Method in class com.diozero.RgbLed
 
toString() - Method in class com.diozero.api.AnalogInputEvent
 
toString() - Method in class com.diozero.api.DigitalInputEvent
 
toString() - Method in class com.diozero.api.imu.OrientationEvent
 
toString() - Method in class com.diozero.api.imu.TapEvent
 
trigger - Variable in class com.diozero.api.DigitalInputDevice
 
TSL2561 - Class in com.diozero
 
TSL2561(int) - Constructor for class com.diozero.TSL2561
 
TSL2561(int, int, int, int) - Constructor for class com.diozero.TSL2561
 
TSL2561_PACKAGE_CS - Static variable in class com.diozero.TSL2561
 
TSL2561_PACKAGE_T_FN_CL - Static variable in class com.diozero.TSL2561
 
TSL2561Test - Class in com.diozero.sampleapps
To run: JDK Device I/O 1.0: sudo java -cp tinylog-1.0.3.jar:diozero-core-0.4-SNAPSHOT.jar:diozero-provider-jdkdio10-0.4-SNAPSHOT.jar:dio-1.0.1-dev-linux-armv6hf.jar -Djava.library.path=.
TSL2561Test() - Constructor for class com.diozero.sampleapps.TSL2561Test
 

U

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

V

valueChanged(DigitalInputEvent) - Method in class com.diozero.api.DigitalInputDevice
 
valueChanged(T) - Method in class com.diozero.api.GpioInputDevice
 
valueChanged(T) - Method in interface com.diozero.api.InputEventListener
 
valueChanged(float) - Method in class com.diozero.api.motor.MotorBase
 
valueChanged(MotorEvent) - Method in interface com.diozero.api.motor.MotorListener
 
valueChanged(DigitalInputEvent) - Method in class com.diozero.api.SmoothedInputDevice
 
valueChanged(DigitalInputEvent) - Method in class com.diozero.api.WaitableDigitalInputDevice
 
valueChanged(T) - Method in class com.diozero.internal.spi.AbstractInputDevice
 
valueChanged(DigitalInputEvent) - Method in class com.diozero.MCP23017
 
valueChanged(DigitalInputEvent) - Method in class com.diozero.sandpit.HCSR04UsingEvents
 
valueOf(String) - Static method in enum com.diozero.api.GpioEventTrigger
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.api.GpioPullUpDown
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.api.imu.OrientationEvent.OrientationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.api.imu.TapEvent.TapAxisType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.api.imu.TapEvent.TapType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.api.PwmType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.api.SpiClockMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.BMP180.BMPMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.McpAdc.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diozero.sandpit.W1ThermSensor.Type
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum com.diozero.sandpit.W1ThermSensor.Type
 
valueOf(Path) - Static method in enum com.diozero.sandpit.W1ThermSensor.Type
 
values() - Static method in enum com.diozero.api.GpioEventTrigger
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.api.GpioPullUpDown
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.api.imu.OrientationEvent.OrientationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.api.imu.TapEvent.TapAxisType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.api.imu.TapEvent.TapType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.api.PwmType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.api.SpiClockMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.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.McpAdc.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diozero.sandpit.W1ThermSensor.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

W1ThermSensor - Class in com.diozero.sandpit
 
W1ThermSensor.Type - Enum in com.diozero.sandpit
 
WaitableDigitalInputDevice - Class in com.diozero.api
Represents a digital input device with distinct waitable states.
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
 
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
 
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
 
whenReleased(Action) - Method in class com.diozero.Button
 
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(int, int, ByteBuffer) - Method in interface com.diozero.internal.spi.I2CDeviceInterface
 
writeAndRead(ByteBuffer) - Method in class com.diozero.api.SpiDevice
 
writeAndRead(ByteBuffer) - Method in interface com.diozero.internal.spi.SpiDeviceInterface
 
writeBit(int, int, int) - Method in class com.diozero.api.I2CDevice
write a single bit in an 8-bit device register.
writeBit(int, int, boolean) - Method in class com.diozero.api.I2CDevice
write a single bit in an 8-bit device register.
writeBits(int, int, int, int) - Method in class com.diozero.api.I2CDevice
Write multiple bits in an 8-bit device register.
writeByte(int, int) - Method in class com.diozero.api.I2CDevice
Write single byte to an 8-bit device register.
writeByte(int, byte) - Method in class com.diozero.api.I2CDevice
Write single byte to an 8-bit device register.
writeBytes(int, int, byte[]) - Method in class com.diozero.api.I2CDevice
Write multiple bytes to an 8-bit device register.
writeBytes(int, int, byte[], int) - Method in class com.diozero.api.I2CDevice
 
writeShort(int, short) - Method in class com.diozero.api.I2CDevice
 
writeWord(int, int) - Method in class com.diozero.api.I2CDevice
Write single word to a 16-bit device register.
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2016 mattjlewis. All rights reserved.