Uses of Interface
com.diozero.api.function.FloatConsumer
Package | Description |
---|---|
com.diozero.api.function | |
com.diozero.devices |
Classes representing actual devices such as LEDs, Buttons as well as GPIO,
devices that are connected via I2C, SPI and Serial interfaces.
|
com.diozero.devices.motor |
-
Uses of FloatConsumer in com.diozero.api.function
Methods in com.diozero.api.function that return FloatConsumer Modifier and Type Method Description default FloatConsumer
FloatConsumer. andThen(FloatConsumer after)
Returns a composedFloatConsumer
that performs, in sequence, this operation followed by theafter
operation.Methods in com.diozero.api.function with parameters of type FloatConsumer Modifier and Type Method Description default FloatConsumer
FloatConsumer. andThen(FloatConsumer after)
Returns a composedFloatConsumer
that performs, in sequence, this operation followed by theafter
operation. -
Uses of FloatConsumer in com.diozero.devices
Methods in com.diozero.devices with parameters of type FloatConsumer Modifier and Type Method Description void
Ads1x15. setContinousMode(DigitalInputDevice readyPin, int adcNumber, FloatConsumer callback)
-
Uses of FloatConsumer in com.diozero.devices.motor
Classes in com.diozero.devices.motor that implement FloatConsumer Modifier and Type Class Description class
MotorBase
class
PiconZeroMotor
class
PwmMotor
Generic bi-directional motor controlled by separate forward / backward PWM output GPIOsclass
TB6612FNGMotor
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