Index

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

a - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
a - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
A - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
A - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
A0 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
A1 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
A2 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
A3 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
A4 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
A5 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
A6 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
A7 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
addListener(EventHandler<V>) - Method in interface com.pi4j.crowpi.components.events.DigitalEventProvider
Adds a new event listener to this component.
addListener(EventHandler<V>) - Method in interface com.pi4j.crowpi.components.events.EventProvider
Adds a new event listener which uses the given handler.
AMPERSAND - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
AMPERSAND - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
ARROW_DOWN - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
ARROW_LEFT - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
ARROW_LEFT - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
ARROW_RIGHT - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
ARROW_RIGHT - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
ARROW_UP - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
AS0 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
AS1 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
AS2 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
AS3 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
AS4 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
AS5 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
AS6 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
AS7 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
ASTERISK - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
ASTERISK - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
AT - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
AT - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 

B

b - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
b - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
B - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
B - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
B0 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
B1 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
B2 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
B3 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
B4 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
B5 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
B6 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
B7 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
BACKSLASH - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
BAR - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
BAR - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
BIG_BETA - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
BIG_OMEGA - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
BIG_SIGMA - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
BIG_THETA - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
BLACKBOX - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
BOTTOM - Enum constant in enum class com.pi4j.crowpi.components.SevenSegmentComponent.Segment
 
BOTTOM_RIGHT_CORNER - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
BRACE_LEFT - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
BRACE_LEFT - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
BRACE_RIGHT - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
BRACE_RIGHT - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
BRACKET_LEFT - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
BRACKET_LEFT - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
BRACKET_RIGHT - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
BRACKET_RIGHT - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
buffer - Variable in class com.pi4j.crowpi.components.internal.HT16K33
Internal buffer where all digits get stored before being flushed to the display.
buffer - Variable in class com.pi4j.crowpi.components.internal.MAX7219
Internal buffer to store the 8x8 matrix A byte[] array is used as each of the 8 bits is used to represent a column
BUFFER_OVFL - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.PcdError
 
buildDigitalInputConfig(Context, int) - Static method in class com.pi4j.crowpi.components.ButtonMatrixComponent
Builds a new DigitalInput configuration for a button matrix button.
buildDigitalInputConfig(Context, int) - Method in class com.pi4j.crowpi.components.PirMotionSensorComponent
Builds a new DigitalInput instance for the PIR motion sensor.
buildDigitalInputConfig(Context, int) - Method in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Builds a new DigitalInput instance for the ultrasonic distance sensor.
buildDigitalInputConfig(Context, int, long) - Method in class com.pi4j.crowpi.components.SoundSensorComponent
Configure Digital Input
buildDigitalInputConfig(Context, int, long) - Method in class com.pi4j.crowpi.components.TiltSensorComponent
Builds a new DigitalInput instance for the tilt sensor.
buildDigitalInputConfig(Context, int, long) - Method in class com.pi4j.crowpi.components.TouchSensorComponent
Configure Digital Input
buildDigitalOutputConfig(Context, int) - Static method in class com.pi4j.crowpi.components.ButtonMatrixComponent
Builds a new DigitalOutput configuration for a button matrix selector.
buildDigitalOutputConfig(Context, int) - Method in class com.pi4j.crowpi.components.RelayComponent
Configure Digital Input
buildDigitalOutputConfig(Context, int) - Method in class com.pi4j.crowpi.components.StepMotorComponent
Builds a new digital output configuration for the GPIO step motor pin
buildDigitalOutputConfig(Context, int) - Method in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Builds a new instance for the ultrasonic distance sensor.
buildDigitalOutputConfig(Context, int) - Method in class com.pi4j.crowpi.components.VibrationMotorComponent
Configure Digital Input
buildNewContext() - Static method in class com.pi4j.crowpi.helpers.CrowPiPlatform
Helper method for instantiating a new Pi4J context based on the CrowPiPlatform platform with PiGPIO plugins.
buildPwmConfig(Context, int) - Static method in class com.pi4j.crowpi.components.BuzzerComponent
Builds a new PWM configuration for the buzzer
buildPwmConfig(Context, int, int) - Method in class com.pi4j.crowpi.components.ServoMotorComponent
Builds a new PWM configuration for the step motor.
Button - Enum Class in com.pi4j.crowpi.components.definitions
Mapping of CrowPi buttons to the respective BCM pins
ButtonComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi buttons using GPIO with Pi4J
ButtonComponent(Context, int, boolean, long) - Constructor for class com.pi4j.crowpi.components.ButtonComponent
Creates a new button component with custom GPIO address and debounce time.
ButtonComponent(Context, Button) - Constructor for class com.pi4j.crowpi.components.ButtonComponent
Creates a new button component using the default setup for the given CrowPi button.
ButtonComponent.ButtonState - Enum Class in com.pi4j.crowpi.components
All available states reported by the button component.
ButtonMatrixComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi button matrix using GPIO with Pi4J
ButtonMatrixComponent(Context) - Constructor for class com.pi4j.crowpi.components.ButtonMatrixComponent
Creates a new button matrix component using the default setup.
ButtonMatrixComponent(Context, int[], int[], int[], long) - Constructor for class com.pi4j.crowpi.components.ButtonMatrixComponent
Creates a new button matrix component with custom selector/button pins, state mapping and poller period.
BuzzerComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi buzzer using PWM with Pi4J
BuzzerComponent(Context) - Constructor for class com.pi4j.crowpi.components.BuzzerComponent
Creates a new buzzer component using the default pin.
BuzzerComponent(Context, int) - Constructor for class com.pi4j.crowpi.components.BuzzerComponent
Creates a new buzzer component with a custom BCM pin.
ByteHelpers - Class in com.pi4j.crowpi.components.helpers
This class provides various helper methods for dealing with byte arrays.
ByteHelpers() - Constructor for class com.pi4j.crowpi.components.helpers.ByteHelpers
 

C

c - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
c - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
C - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
C - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
C1 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
C2 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
C3 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
C4 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
C5 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
C6 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
C7 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
C8 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
calculateDistance(double, double) - Method in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Calculates measured distance from pulse length with temperature compensation.
calculateLux(double) - Method in class com.pi4j.crowpi.components.LightSensorComponent
Calculates Lux values from measurement values
CARET - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
CARET - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
CENTER - Enum constant in enum class com.pi4j.crowpi.components.SevenSegmentComponent.Segment
 
CH - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
CH_MINUS - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
CH_PLUS - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
CHAR_BITSETS - Static variable in class com.pi4j.crowpi.components.SevenSegmentComponent
Mapping of characters to their respective byte representation.
checkPinNumber(int) - Method in class com.pi4j.crowpi.components.internal.MCP23008
Checks a bit is in Range of 0-7.
clear() - Method in class com.pi4j.crowpi.components.internal.HT16K33
Clears the internal buffer without refreshing the display.
clear() - Method in class com.pi4j.crowpi.components.internal.MAX7219
Clears the internal buffer without refreshing the display.
clearDisplay() - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Clears the display and return the cursor to home
clearLine(int) - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Clears a line of the display
COLL_ERR - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.PcdError
 
COLON - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
COLON - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
com.pi4j.crowpi - module com.pi4j.crowpi
 
com.pi4j.crowpi.components - package com.pi4j.crowpi.components
 
com.pi4j.crowpi.components.definitions - package com.pi4j.crowpi.components.definitions
 
com.pi4j.crowpi.components.events - package com.pi4j.crowpi.components.events
 
com.pi4j.crowpi.components.exceptions - package com.pi4j.crowpi.components.exceptions
 
com.pi4j.crowpi.components.helpers - package com.pi4j.crowpi.components.helpers
 
com.pi4j.crowpi.components.internal - package com.pi4j.crowpi.components.internal
 
com.pi4j.crowpi.components.internal.rfid - package com.pi4j.crowpi.components.internal.rfid
 
com.pi4j.crowpi.helpers - package com.pi4j.crowpi.helpers
 
COMMA - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
COMMA - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
Component - Class in com.pi4j.crowpi.components
 
Component() - Constructor for class com.pi4j.crowpi.components.Component
 
convertToSymbols(String) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Converts a string into a list of symbols to print on the 8x8 LED matrix.
CRC_ERR - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.PcdError
 
create() - Method in interface com.pi4j.crowpi.components.IrReceiverComponent.PollerProcessFactory
 
createCharacter(int, byte[]) - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Create a custom character by providing the single digit states of each pixel.
CROSS - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
CrowPiPlatform - Class in com.pi4j.crowpi.helpers
Custom Pi4J platform class which ensures that PiGPIO is used for interacting with the hardware components.
CrowPiPlatform() - Constructor for class com.pi4j.crowpi.helpers.CrowPiPlatform
 
CS1 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
CS2 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
CS3 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
CS4 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
CS5 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
CS6 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
CS7 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
CS8 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 

D

d - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
d - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
D - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
D - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
D1 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
D2 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
D3 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
D4 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
D5 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
D6 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
D7 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
D8 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
debug(String, Object...) - Method in class com.pi4j.crowpi.components.helpers.Logger
 
DECIMAL_POINT - Enum constant in enum class com.pi4j.crowpi.components.SevenSegmentComponent.Segment
 
DEFAULT_BAUD_RATE - Static variable in class com.pi4j.crowpi.components.LedMatrixComponent
Default SPI baud rate for the LED matrix on the CrowPi
DEFAULT_BUS - Static variable in class com.pi4j.crowpi.components.SevenSegmentComponent
Default I2C bus address for the seven-segment display on the CrowPi
DEFAULT_BUTTON_PINS - Static variable in class com.pi4j.crowpi.components.ButtonMatrixComponent
Default GPIO pins used as buttons for the button matrix.
DEFAULT_CHANNEL - Static variable in class com.pi4j.crowpi.components.LedMatrixComponent
Default SPI channel for the LED matrix on the CrowPi
DEFAULT_DEBOUNCE - Static variable in class com.pi4j.crowpi.components.ButtonComponent
Default debounce time in microseconds
DEFAULT_DEBOUNCE - Static variable in class com.pi4j.crowpi.components.SoundSensorComponent
Debounce of input in microseconds
DEFAULT_DEBOUNCE - Static variable in class com.pi4j.crowpi.components.TiltSensorComponent
Default debounce time in microseconds
DEFAULT_DEBOUNCE - Static variable in class com.pi4j.crowpi.components.TouchSensorComponent
Debounce of input in microseconds
DEFAULT_DEVICE - Static variable in class com.pi4j.crowpi.components.SevenSegmentComponent
Default I2C device address for the seven-segment display on the CrowPi
DEFAULT_FREQUENCY - Static variable in class com.pi4j.crowpi.components.ServoMotorComponent
Default PWM frequency of the servo, based on values for the CrowPi servo
DEFAULT_MAX_ANGLE - Static variable in class com.pi4j.crowpi.components.ServoMotorComponent
Default maximum angle of the servo motor, based on values for the CrowPi servo
DEFAULT_MAX_DUTY_CYCLE - Static variable in class com.pi4j.crowpi.components.ServoMotorComponent
Maximum PWM duty cycle to put the PWM into the maximum angle position
DEFAULT_MIN_ANGLE - Static variable in class com.pi4j.crowpi.components.ServoMotorComponent
Default minimum angle of the servo motor, based on values for the CrowPi servo
DEFAULT_MIN_DUTY_CYCLE - Static variable in class com.pi4j.crowpi.components.ServoMotorComponent
Default minimum PWM duty cycle to put the PWM into the minimum angle position
DEFAULT_PIN - Static variable in class com.pi4j.crowpi.components.BuzzerComponent
If no pin is specified by the user, the default BCM pin 18 is used.
DEFAULT_PIN - Static variable in class com.pi4j.crowpi.components.PirMotionSensorComponent
Default BCM pin of PIR motion sensor for CrowPi
DEFAULT_PIN - Static variable in class com.pi4j.crowpi.components.RelayComponent
If no pin is specified by the user, the default BCM pin is used.
DEFAULT_PIN - Static variable in class com.pi4j.crowpi.components.SoundSensorComponent
Default Pin of sound sensor
DEFAULT_PIN - Static variable in class com.pi4j.crowpi.components.TiltSensorComponent
Default BCM pin of tilt sensor for CrowPi
DEFAULT_PIN - Static variable in class com.pi4j.crowpi.components.TouchSensorComponent
Default Pin of touch sensor
DEFAULT_PIN - Static variable in class com.pi4j.crowpi.components.VibrationMotorComponent
If no pin is specified by the user, the default BCM pin is used.
DEFAULT_PIN_ECHO - Static variable in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
 
DEFAULT_PIN_TRIGGER - Static variable in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Default BCM pins of ultrasonic distance sensor for CrowPi
DEFAULT_POLLER_PERIOD_MS - Static variable in class com.pi4j.crowpi.components.ButtonMatrixComponent
Default period in milliseconds of button state poller.
DEFAULT_POLLER_PERIOD_MS - Static variable in class com.pi4j.crowpi.components.RfidComponent
Default polling period in milliseconds for detecting new cards
DEFAULT_POLLER_PERIOD_MS - Static variable in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Default period in milliseconds of button state poller.
DEFAULT_RESET_PIN - Static variable in class com.pi4j.crowpi.components.RfidComponent
Default GPIO BCM address of reset pin for RFID component
DEFAULT_SCROLL_DELAY - Static variable in class com.pi4j.crowpi.components.LedMatrixComponent
Default delay between scroll operations in milliseconds
DEFAULT_SCROLL_DIRECTION - Static variable in class com.pi4j.crowpi.components.LedMatrixComponent
Default direction for scroll operations
DEFAULT_SELECTOR_PINS - Static variable in class com.pi4j.crowpi.components.ButtonMatrixComponent
Default GPIO pins used as selectors for the button matrix.
DEFAULT_SHAKE_THRESHOLD - Static variable in class com.pi4j.crowpi.components.TiltSensorComponent
Default threshold for considering consecutive state changes as shaking.
DEFAULT_SPI_BAUD_RATE - Static variable in class com.pi4j.crowpi.components.RfidComponent
Default SPI baud rate for the RFID component on the CrowPi
DEFAULT_SPI_CHANNEL - Static variable in class com.pi4j.crowpi.components.RfidComponent
Default SPI channel for the RFID component on the CrowPi
DEFAULT_STATE_MAPPINGS - Static variable in class com.pi4j.crowpi.components.ButtonMatrixComponent
Default mapping of button number (= array index) to the respective state index.
DEFAULT_TEMPERATURE - Static variable in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Default temperature setting to calculate distances
destroy() - Method in interface com.pi4j.crowpi.components.IrReceiverComponent.PollerProcess
 
DigitalEventListener<V> - Class in com.pi4j.crowpi.components.events
Generic implementation of EventListener for Pi4J DigitalInput instances.
DigitalEventListener(DigitalInput, Function<DigitalState, V>, EventHandler<V>) - Constructor for class com.pi4j.crowpi.components.events.DigitalEventListener
Creates a new digital event listener for the given digital input which uses the provided mapper and event handler.
DigitalEventProvider<V> - Interface in com.pi4j.crowpi.components.events
Generic digital event provider with default implementation for digital components.
digitalInput - Variable in class com.pi4j.crowpi.components.ButtonComponent
Pi4J digital input instance used by this component
digitalInput - Variable in class com.pi4j.crowpi.components.events.DigitalEventListener
Pi4J digital input to which this digital event listener has been attached
digitalInput - Variable in class com.pi4j.crowpi.components.PirMotionSensorComponent
Pi4J digital input instance used by this component
digitalInput - Variable in class com.pi4j.crowpi.components.SoundSensorComponent
Pi4J digital input instance used by this component
digitalInput - Variable in class com.pi4j.crowpi.components.TouchSensorComponent
Pi4J digital input instance used by this component
digitalOutput - Variable in class com.pi4j.crowpi.components.RelayComponent
Pi4J digital output instance used by this component
digitalOutput - Variable in class com.pi4j.crowpi.components.VibrationMotorComponent
Pi4J digital output instance used by this component
Direction - Enum Class in com.pi4j.crowpi.components.definitions
 
dispatchSimpleEvents(ButtonComponent.ButtonState) - Method in class com.pi4j.crowpi.components.ButtonComponent
Analyzes the given value passed by an event and triggers 0-n simple events based on it.
dispatchSimpleEvents(PirMotionSensorComponent.MotionState) - Method in class com.pi4j.crowpi.components.PirMotionSensorComponent
Analyzes the given value passed by an event and triggers 0-n simple events based on it.
dispatchSimpleEvents(SoundSensorComponent.SoundState) - Method in class com.pi4j.crowpi.components.SoundSensorComponent
Analyzes the given value passed by an event and triggers 0-n simple events based on it.
dispatchSimpleEvents(TiltSensorComponent.TiltState) - Method in class com.pi4j.crowpi.components.TiltSensorComponent
Analyzes the given value passed by an event and triggers 0-n simple events based on it.
dispatchSimpleEvents(TouchSensorComponent.TouchState) - Method in class com.pi4j.crowpi.components.TouchSensorComponent
Analyzes the given value passed by an event and triggers 0-n simple events based on it.
dispatchSimpleEvents(E) - Method in interface com.pi4j.crowpi.components.events.SimpleEventProvider
Analyzes the given value passed by an event and triggers 0-n simple events based on it.
DIVISION - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
DOLLAR - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
DOLLAR - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
DOUBLE_QUOTE - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
DOUBLE_QUOTE - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
DOWN - Enum constant in enum class com.pi4j.crowpi.components.ButtonComponent.ButtonState
 
DOWN - Enum constant in enum class com.pi4j.crowpi.components.definitions.Button
DOWN button with board pin 33
DOWN - Enum constant in enum class com.pi4j.crowpi.components.definitions.Direction
 
draw(BufferedImage) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Displays the given BufferedImage on the LED matrix by enabling LEDs for non-black colors.
draw(BufferedImage, int, int) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Displays a specific area of the given BufferedImage on the LED matrix by enabling LEDs for non-black colors.
draw(Consumer<Graphics2D>) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Initializes a blank image with the same size as the LED matrix and calls the given consumer with a Graphics2D instance.
DS1 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
DS2 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
DS3 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
DS4 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
DS5 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
DS6 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
DS7 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
DS8 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 

E

e - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
e - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
E - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
E - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
E1 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
E2 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
E3 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
E4 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
E5 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
E6 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
E7 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
EIGHT - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
EIGHT - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
EIGHT - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
EQ - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
EQUAL - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
EQUAL - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
error(String, Object...) - Method in class com.pi4j.crowpi.components.helpers.Logger
 
EventHandler<V> - Interface in com.pi4j.crowpi.components.events
Generic functional interface used for for event handlers.
EventListener - Interface in com.pi4j.crowpi.components.events
Generic event listener interface for easy removal of existing listeners.
EventProvider<L extends EventListener,V> - Interface in com.pi4j.crowpi.components.events
Generic event provider interface for components which expose the ability to add or remove event listeners.
EXCLAMATION_MARK - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
EXCLAMATION_MARK - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
executeCommand(byte, byte) - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Execute Display commands

F

f - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
f - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
F - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
F - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
F1 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
F2 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
F3 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
F4 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
F5 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
F6 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
F7 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
FIVE - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
FIVE - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
FIVE - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
FlappingEventProvider<V> - Class in com.pi4j.crowpi.components.events
Generic event provider to trigger a SimpleEventHandler once a value has flapped between two values for a couple times.
FlappingEventProvider(long, V, V) - Constructor for class com.pi4j.crowpi.components.events.FlappingEventProvider
Initializes a new FlappingEventProvider with the two given values.
FlappingEventProvider(V, V) - Constructor for class com.pi4j.crowpi.components.events.FlappingEventProvider
Initializes a new FlappingEventProvider with the two given values.
FOUR - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
FOUR - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
FOUR - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
fromCode(byte) - Static method in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
Returns the first key which matches the passed key code or null if no match is found.
fromSak(byte) - Static method in enum class com.pi4j.crowpi.components.internal.rfid.RfidCardType
Returns the detected card type based on SAK.
fromSegments(SevenSegmentComponent.Segment...) - Static method in class com.pi4j.crowpi.components.SevenSegmentComponent
Helper method for creating a raw digit value (byte) from 0-n segments.
FS1 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
FS2 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
FS3 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
FS4 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
FS5 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
FS6 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
FS7 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 

G

g - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
g - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
G - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
G - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
G1 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
G2 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
G3 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
G4 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
G5 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
G6 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
G7 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
getAscii() - Method in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
Returns the associated ASCII code for this symbol or -1 if not applicable.
getBcmPin() - Method in enum class com.pi4j.crowpi.components.definitions.Button
 
getByChar(char) - Static method in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
Method to search a the corresponding byte to an ASCII sign.
getByChar(char) - Static method in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
Attempts to find a symbol associated to the given character and returns it.
getBytes() - Method in class com.pi4j.crowpi.components.internal.rfid.MifareKey
Returns the raw content / bytes for this key.
getCapacity() - Method in class com.pi4j.crowpi.components.internal.rfid.Mifare1K
Returns the maximum capacity in bytes this card can store.
getCapacity() - Method in class com.pi4j.crowpi.components.internal.rfid.RfidCard
Returns the maximum capacity in bytes this card can store.
getCardType() - Method in exception com.pi4j.crowpi.components.exceptions.RfidUnsupportedCardException
 
getCode() - Method in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
Returns the keycode of the key.
getDefaultKeyA() - Static method in class com.pi4j.crowpi.components.internal.rfid.MifareKey
Returns the default factory key (six times 0xFF) to be used as MifareKey.Type.KEY_A.
getDefaultKeyB() - Static method in class com.pi4j.crowpi.components.internal.rfid.MifareKey
Returns the default factory key (six times 0xFF) to be used as MifareKey.Type.KEY_B.
getDescription() - Method in enum class com.pi4j.crowpi.components.internal.rfid.PcdError
 
getDescription() - Method in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
Returns the description of the key.
getDigitalInput() - Method in class com.pi4j.crowpi.components.ButtonComponent
Returns the Pi4J DigitalInput associated with this component.
getDigitalInput() - Method in interface com.pi4j.crowpi.components.events.DigitalEventProvider
Returns the Pi4J DigitalInput associated with this component.
getDigitalInput() - Method in class com.pi4j.crowpi.components.PirMotionSensorComponent
Returns the Pi4J DigitalInput associated with this component.
getDigitalInput() - Method in class com.pi4j.crowpi.components.SoundSensorComponent
Returns the Pi4J DigitalInput associated with this component.
getDigitalInput() - Method in class com.pi4j.crowpi.components.TiltSensorComponent
Returns the Pi4J DigitalInput associated with this component.
getDigitalInput() - Method in class com.pi4j.crowpi.components.TouchSensorComponent
Returns the Pi4J DigitalInput associated with this component.
getDigitalInputEcho() - Method in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Get the instance of the echo input
getDigitalOutput() - Method in class com.pi4j.crowpi.components.RelayComponent
Returns the instance of the digital output
getDigitalOutput() - Method in class com.pi4j.crowpi.components.VibrationMotorComponent
Returns the instance of the digital output
getDigitalOutputs() - Method in class com.pi4j.crowpi.components.StepMotorComponent
Returns an array of all initialized digital outputs for this component
getDigitalOutputTrigger() - Method in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Get the instance of the trigger output
getFrequency() - Method in enum class com.pi4j.crowpi.helpers.Note
 
getGpioState() - Method in class com.pi4j.crowpi.components.internal.MCP23008
Returns the created gpio state byte for the mcp
getHumidity() - Method in class com.pi4j.crowpi.components.HumiTempComponent
Gets the last read humidity
getI2C() - Method in class com.pi4j.crowpi.components.internal.MCP23008
Returns the created i2c instance for the mcp
getI2C() - Method in class com.pi4j.crowpi.components.LightSensorComponent
Returns the created PWM instance for the buzzer
getI2C() - Method in class com.pi4j.crowpi.components.SevenSegmentComponent
Returns the created I2C instance for the seven-segment display
getInputStream() - Method in interface com.pi4j.crowpi.components.IrReceiverComponent.PollerProcess
 
getInverted() - Method in enum class com.pi4j.crowpi.components.definitions.Button
 
getLength() - Method in class com.pi4j.crowpi.components.internal.rfid.MifareKey
Returns the length of this key, should always be 6.
getMaxAngle() - Method in class com.pi4j.crowpi.components.ServoMotorComponent
Returns the maximum angle configured for this servo.
getMcp() - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Get the current MCP instance
getMinAngle() - Method in class com.pi4j.crowpi.components.ServoMotorComponent
Returns the minimum angle configured for this servo.
getPixel(int, int) - Method in class com.pi4j.crowpi.components.internal.MAX7219
Retrieves the pixel at the given X/Y position within the internal buffer.
getPoller() - Method in class com.pi4j.crowpi.components.ButtonMatrixComponent
Returns the internal scheduled future for the poller thread or null if currently stopped.
getPoller() - Method in class com.pi4j.crowpi.components.HumiTempComponent
Returns the internal scheduled future for the poller thread or null if currently stopped.
getPoller() - Method in class com.pi4j.crowpi.components.RfidComponent
Returns the internal scheduled future for the poller thread or null if currently stopped.
getPoller() - Method in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Returns the internal scheduled future for the poller thread or null if currently stopped.
getPollerManager() - Method in class com.pi4j.crowpi.components.IrReceiverComponent
Returns the instance of the poller manager or null if currently not running.
getPollerManagerThread() - Method in class com.pi4j.crowpi.components.IrReceiverComponent
Returns the instance of the poller manager thread or null if currently not running.
getPollerProcess() - Method in class com.pi4j.crowpi.components.IrReceiverComponent.PollerManager
Returns the current poller process managed by this poller manager or null if not running.
getPressedButtons() - Method in class com.pi4j.crowpi.components.ButtonMatrixComponent
Returns a list of all buttons which were pressed during the last poll cycle.
getProviders() - Method in class com.pi4j.crowpi.helpers.CrowPiPlatform
Override default providers which would otherwise be inherited from RaspberryPiPlatform with an empty list.
getPwm() - Method in class com.pi4j.crowpi.components.BuzzerComponent
Returns the created PWM instance for the buzzer
getPwm() - Method in class com.pi4j.crowpi.components.ServoMotorComponent
Returns the created PWM instance for the servo
getRawDigit(int) - Method in class com.pi4j.crowpi.components.SevenSegmentComponent
Gets the raw digit at the specified position.
getResetPin() - Method in class com.pi4j.crowpi.components.RfidComponent
Returns the current reset pin for the RFID component.
getRows() - Method in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
Returns the associated byte array to be used for displaying on the 8x8 LED matrix.
getSak() - Method in enum class com.pi4j.crowpi.components.internal.rfid.RfidCardType
 
getSak() - Method in class com.pi4j.crowpi.components.internal.rfid.RfidCardUid
 
getSerial() - Method in class com.pi4j.crowpi.components.internal.rfid.RfidCard
Returns the human-readable serial of this card, based on the UID.
getSerial() - Method in class com.pi4j.crowpi.components.internal.rfid.RfidCardUid
 
getSpi() - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Returns the current SPI instance for the LED matrix.
getSpi() - Method in class com.pi4j.crowpi.components.RfidComponent
Returns the current SPI instance for the LED matrix.
getState() - Method in class com.pi4j.crowpi.components.ButtonComponent
Returns the current state of the touch sensor
getState() - Method in class com.pi4j.crowpi.components.PirMotionSensorComponent
Returns the current state of the PIR motion sensor.
getState() - Method in class com.pi4j.crowpi.components.SoundSensorComponent
Returns the SoundState of the sensor
getState() - Method in class com.pi4j.crowpi.components.TiltSensorComponent
Returns the current state of the tilt sensor.
getState() - Method in class com.pi4j.crowpi.components.TouchSensorComponent
Returns the current state of the touch sensor
getState(int) - Method in class com.pi4j.crowpi.components.ButtonMatrixComponent
Returns the state of the button with the given number (starting at 1) during the last poll cycle.
getTemperature() - Method in class com.pi4j.crowpi.components.HumiTempComponent
Gets the last read temperature
getType() - Method in class com.pi4j.crowpi.components.internal.rfid.MifareKey
Returns the type of this key.
getUid() - Method in class com.pi4j.crowpi.components.internal.rfid.RfidCard
Returns the UID of this card.
getUid() - Method in class com.pi4j.crowpi.components.internal.rfid.RfidCardUid
 
getUidLength() - Method in class com.pi4j.crowpi.components.internal.rfid.RfidCardUid
 
getValue() - Method in enum class com.pi4j.crowpi.components.internal.rfid.PcdError
 
gpioState - Variable in class com.pi4j.crowpi.components.internal.MCP23008
Current IO States of the MCP23008
GRAV - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
GRAVE - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
GREATER - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
GREATER - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
GS1 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
GS2 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
GS3 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
GS4 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
GS5 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
GS6 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
GS7 - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 

H

h - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
h - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
H - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
H - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
handle() - Method in interface com.pi4j.crowpi.components.events.SimpleEventHandler
Handles a specific simple event based on implementation needs.
handle(V) - Method in interface com.pi4j.crowpi.components.events.EventHandler
Handles an event based on implementation needs.
handle(V) - Method in class com.pi4j.crowpi.components.events.FlappingEventProvider
Implementation of EventHandler which must be added as a listener for this event provider to work.
handler - Variable in class com.pi4j.crowpi.components.events.DigitalEventListener
Handler function which gets called
hasLeftTilt() - Method in class com.pi4j.crowpi.components.TiltSensorComponent
Checks if the tilt sensor is currently tilted left
hasMovement() - Method in class com.pi4j.crowpi.components.PirMotionSensorComponent
Checks if the PIR motion sensor currently detects movement.
hasRightTilt() - Method in class com.pi4j.crowpi.components.TiltSensorComponent
Checks if the tilt sensor is currently tilted right
hasStillstand() - Method in class com.pi4j.crowpi.components.PirMotionSensorComponent
Checks if the PIR motion sensor currently detects stillstand.
HEART - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
HEIGHT - Static variable in class com.pi4j.crowpi.components.internal.MAX7219
Height of MAX7219 LED matrix
HT16K33 - Class in com.pi4j.crowpi.components.internal
Implementation of HT16K33 LED driver chip used for segment displays.
HT16K33(I2C) - Constructor for class com.pi4j.crowpi.components.internal.HT16K33
Creates a new HT16K33 instance using the given I2C instance from Pi4J.
HumiTempComponent - Class in com.pi4j.crowpi.components
This example demonstrates the temperature and humidity component on the CrowPi.
HumiTempComponent() - Constructor for class com.pi4j.crowpi.components.HumiTempComponent
Creates a new humidity and temperature sensor component with default path and polling interval
HumiTempComponent(int) - Constructor for class com.pi4j.crowpi.components.HumiTempComponent
Creates a new humidity and temperature sensor component with default paths and custom polling interval
HumiTempComponent(String, String, int) - Constructor for class com.pi4j.crowpi.components.HumiTempComponent
Creates a new humidity and temperature sensor component with custom paths and polling interval
HUNDRED_PLUS - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
HYPHEN - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
HYPHEN - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 

I

i - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
i - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
I - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
I - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
i2c - Variable in class com.pi4j.crowpi.components.internal.HT16K33
 
INFINITY_SIGN - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
info(String, Object...) - Method in class com.pi4j.crowpi.components.helpers.Logger
 
initialize() - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Initializes the LCD Display
initializeCard() - Method in class com.pi4j.crowpi.components.internal.rfid.MFRC522
Selects a single PICC and transitions it from READY to ACTIVE state, then returns an appropriate RfidCard instance.
initializeIo(byte) - Method in class com.pi4j.crowpi.components.internal.MCP23008
Configure the IO's of the MCP23008.
InstanceAlreadyRunningException - Exception in com.pi4j.crowpi.helpers
 
InstanceAlreadyRunningException(String) - Constructor for exception com.pi4j.crowpi.helpers.InstanceAlreadyRunningException
 
InstanceAlreadyRunningException(String, Throwable) - Constructor for exception com.pi4j.crowpi.helpers.InstanceAlreadyRunningException
 
IrReceiverComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi IR receiver /not/ using GPIO with Pi4J
IrReceiverComponent() - Constructor for class com.pi4j.crowpi.components.IrReceiverComponent
Creates a new IR receiver using the default binary and kernel device path.
IrReceiverComponent(String, String) - Constructor for class com.pi4j.crowpi.components.IrReceiverComponent
Creates a new IR receiver using a custom mode2 binary and kernel device path.
IrReceiverComponent.Key - Enum Class in com.pi4j.crowpi.components
Enumeration which represents all known keycodes for the bundled CrowPi IR remote
IrReceiverComponent.PollerManager - Class in com.pi4j.crowpi.components
Poller manager class which implements Runnable and should be ran in a separate thread.
IrReceiverComponent.PollerProcess - Interface in com.pi4j.crowpi.components
Custom interface as an alternative to the Java native Process interface.
IrReceiverComponent.PollerProcessFactory - Interface in com.pi4j.crowpi.components
Functional interface for a poller process factory which creates new IrReceiverComponent.PollerProcess instances on demand.
isAlive() - Method in interface com.pi4j.crowpi.components.IrReceiverComponent.PollerProcess
 
isAnyCardPresent() - Method in class com.pi4j.crowpi.components.internal.rfid.MFRC522
Returns a boolean if at least one PICC is in the proximity of the PCD.
isDown() - Method in class com.pi4j.crowpi.components.ButtonComponent
Checks if button is currently pressed
isDown(int) - Method in class com.pi4j.crowpi.components.ButtonMatrixComponent
Checks if the button with the given number (starting at 1) was pressed during the last poll cycle.
isNewCardPresent() - Method in class com.pi4j.crowpi.components.internal.rfid.MFRC522
Returns a boolean if at least one new PICC is in the proximity of the PCD.
isNoisy() - Method in class com.pi4j.crowpi.components.SoundSensorComponent
Reads the current sensor state
ISO_14443_4 - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.RfidCardType
 
ISO_18092 - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.RfidCardType
 
isSet(byte) - Method in enum class com.pi4j.crowpi.components.internal.rfid.PcdError
Helper method to determine if the ERR register (previously read elsewhere) has this specific error set.
isSilent() - Method in class com.pi4j.crowpi.components.SoundSensorComponent
Reads the current sensor state
isTouched() - Method in class com.pi4j.crowpi.components.TouchSensorComponent
Method to check if touch sensor is currently touched
isUp() - Method in class com.pi4j.crowpi.components.ButtonComponent
Checks if button is currently depressed (= NOT pressed)
isUp(int) - Method in class com.pi4j.crowpi.components.ButtonMatrixComponent
Checks if the button with the given number (starting at 1) was NOT pressed during the last poll cycle.

J

j - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
j - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
J - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
J - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 

K

k - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
k - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
K - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
K - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
KATAKANA_MIDPOINT - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
KEY_A - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.MifareKey.Type
KEY_A is the primary key which can be granted access to a sector
KEY_B - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.MifareKey.Type
KEY_B is the secondary key which can be granted access to a sector

L

l - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
l - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
L - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
L - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
LATIN_SMALL_A_WITH_DIAERESIS - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
LATIN_SMALL_O_WITH_DIAERESIS - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
LATIN_SMALL_U_WITH_DIAERESIS - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
LcdDisplayComponent - Class in com.pi4j.crowpi.components
This class provides a simple usage of a LCD Display with Pi4J and the CrowPi.
LcdDisplayComponent(Context) - Constructor for class com.pi4j.crowpi.components.LcdDisplayComponent
Creates a new LCD Display component using the default setup.
LcdDisplayComponent(Context, int, int) - Constructor for class com.pi4j.crowpi.components.LcdDisplayComponent
Creates a new LCD Display component with custom bus, device address
LcdDisplayComponent.Symbol - Enum Class in com.pi4j.crowpi.components
Enumeration with most important and used symbols.
LedMatrixComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi LED matrix using SPI with Pi4J
LedMatrixComponent(Context) - Constructor for class com.pi4j.crowpi.components.LedMatrixComponent
Creates a new LED matrix component with the default channel and baud rate.
LedMatrixComponent(Context, int, int) - Constructor for class com.pi4j.crowpi.components.LedMatrixComponent
Creates a new LED matrix component with a custom channel and baud rate.
LedMatrixComponent.ScrollMode - Enum Class in com.pi4j.crowpi.components
Specifies which mode should be used while scrolling the LED matrix.
LedMatrixComponent.Symbol - Enum Class in com.pi4j.crowpi.components
Mapping of various symbols to their respective 8x8 encoding.
LEFT - Enum constant in enum class com.pi4j.crowpi.components.definitions.Button
LEFT button with board pin 22
LEFT - Enum constant in enum class com.pi4j.crowpi.components.definitions.Direction
 
LEFT - Enum constant in enum class com.pi4j.crowpi.components.TiltSensorComponent.TiltState
 
LEFT_BOTTOM - Enum constant in enum class com.pi4j.crowpi.components.SevenSegmentComponent.Segment
 
LEFT_TOP - Enum constant in enum class com.pi4j.crowpi.components.SevenSegmentComponent.Segment
 
LESS - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
LESS - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
LightSensorComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi light sensor using I2C with Pi4J
LightSensorComponent(Context) - Constructor for class com.pi4j.crowpi.components.LightSensorComponent
Creates a new light sensor component using the default setup.
LightSensorComponent(Context, int, int) - Constructor for class com.pi4j.crowpi.components.LightSensorComponent
Creates a new light sensor component with custom bus, device address
logger - Variable in class com.pi4j.crowpi.components.Component
Logger instance
logger - Variable in class com.pi4j.crowpi.components.internal.rfid.RfidCard
Logger instance
Logger - Class in com.pi4j.crowpi.components.helpers
 
Logger() - Constructor for class com.pi4j.crowpi.components.helpers.Logger
 
lookupSymbol(char) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Returns a LedMatrixComponent.Symbol which is associated with the given ASCII character.

M

m - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
m - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
M - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
M - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
mapDigitalState(DigitalState) - Method in class com.pi4j.crowpi.components.ButtonComponent
Maps a DigitalState to a well-known ButtonComponent.ButtonState
mapDigitalState(DigitalState) - Method in interface com.pi4j.crowpi.components.events.DigitalEventProvider
Maps the Pi4J DigitalState to the target type DigitalEventProvider.
mapDigitalState(DigitalState) - Method in class com.pi4j.crowpi.components.PirMotionSensorComponent
Maps a DigitalState to a well-known PirMotionSensorComponent.MotionState
mapDigitalState(DigitalState) - Method in class com.pi4j.crowpi.components.SoundSensorComponent
Maps a DigitalState to a well-known SoundSensorComponent.SoundState
mapDigitalState(DigitalState) - Method in class com.pi4j.crowpi.components.TiltSensorComponent
Maps a DigitalState to a well-known TiltSensorComponent.TiltState
mapDigitalState(DigitalState) - Method in class com.pi4j.crowpi.components.TouchSensorComponent
Maps a DigitalState to a well-known TouchSensorComponent.TouchState
mapper - Variable in class com.pi4j.crowpi.components.events.DigitalEventListener
Mapper function which transforms DigitalState into DigitalEventListener
matchErrReg(byte, PcdError...) - Static method in enum class com.pi4j.crowpi.components.internal.rfid.PcdError
Compares the given ERR register (previously read elsewhere) against a list of errors and returns the first match.
MAX7219 - Class in com.pi4j.crowpi.components.internal
Implementation of MAX7219 driver chip used for 8x8 LED matrix displays.
MAX7219(Spi) - Constructor for class com.pi4j.crowpi.components.internal.MAX7219
Creates a new MAX7219 instance using the given SPI instance from Pi4J.
MCP23008 - Class in com.pi4j.crowpi.components.internal
Class to provide IO interfacing with MCP23008
MCP23008(Context) - Constructor for class com.pi4j.crowpi.components.internal.MCP23008
Creates a new MCP using the default setup.
MCP23008(Context, int, int) - Constructor for class com.pi4j.crowpi.components.internal.MCP23008
Creates a new MCP with custom bus, device address
measure() - Method in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Start a measurement with default temperature setting
measure(double) - Method in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Start a measurement with custom temperature setting.
MeasurementException - Exception in com.pi4j.crowpi.components.exceptions
Generic class used for indicating measurement failures for various components
MeasurementException(String) - Constructor for exception com.pi4j.crowpi.components.exceptions.MeasurementException
 
measurePulse() - Method in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Triggers the ultrasonic sensor to start a measurement.
MFRC522 - Class in com.pi4j.crowpi.components.internal.rfid
Implementation of MFRC522 RFID Reader/Writer used for interacting with RFID cards.
MFRC522(DigitalOutput, Spi) - Constructor for class com.pi4j.crowpi.components.internal.rfid.MFRC522
Creates a new MFRC522 instance using the given reset pin and SPI instance from Pi4J.
MFRC522(Spi) - Constructor for class com.pi4j.crowpi.components.internal.rfid.MFRC522
Creates a new MFRC522 instance without a reset pin for the given SPI instance from Pi4J.
MIFARE_CLASSIC_1K - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.RfidCardType
 
MIFARE_CLASSIC_4K - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.RfidCardType
 
MIFARE_MINI - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.RfidCardType
 
MIFARE_PLUS_1 - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.RfidCardType
 
MIFARE_PLUS_2 - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.RfidCardType
 
MIFARE_ULTRALIGHT - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.RfidCardType
 
Mifare1K - Class in com.pi4j.crowpi.components.internal.rfid
Implementation of MIFARE Classic 1K cards with 16 sectors with 4 blocks (16 bytes) each.
mifareAuth(MifareKey, byte, RfidCardUid) - Method in class com.pi4j.crowpi.components.internal.rfid.MFRC522
Authenticates the sector to which the specified block belongs for MIFARE PICCs.
MifareKey - Class in com.pi4j.crowpi.components.internal.rfid
Helper class for authenticating against MIFARE cards using either Key A or Key B.
MifareKey(MifareKey.Type, byte[]) - Constructor for class com.pi4j.crowpi.components.internal.rfid.MifareKey
Creates a new MIFARE key which can be used for authenticating against a card.
MifareKey.Type - Enum Class in com.pi4j.crowpi.components.internal.rfid
All available key types on MIFARE cards
mifareRead(byte) - Method in class com.pi4j.crowpi.components.internal.rfid.MFRC522
Reads the specified block from a MIFARE PICC using PiccCommand.MF_READ.
mifareStopCrypto1() - Method in class com.pi4j.crowpi.components.internal.rfid.MFRC522
Stops the encrypted communication towards the PICC, must be called when MFRC522.mifareAuth(MifareKey, byte, RfidCardUid) was used.
mifareWrite(byte, byte[]) - Method in class com.pi4j.crowpi.components.internal.rfid.MFRC522
Writes the specified amount of data using PiccCommand.MF_WRITE to a MIFARE PICC.
moveCursorHome() - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Returns the Cursor to Home Position (First line, first character)
moveCursorLeft() - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Moves the cursor 1 character left
moveCursorRight() - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Moves the cursor 1 character right
moveDisplayLeft() - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Moves the whole displayed text one character right
moveDisplayRight() - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Moves the whole displayed text one character right
MOVEMENT - Enum constant in enum class com.pi4j.crowpi.components.PirMotionSensorComponent.MotionState
 
moveOnRange(float) - Method in class com.pi4j.crowpi.components.ServoMotorComponent
Maps the given value based on the range previously defined with ServoMotorComponent.setRange(float, float) to the full range of the servo.
moveOnRange(float, float, float) - Method in class com.pi4j.crowpi.components.ServoMotorComponent
Maps the given value based on the given input range to the full range of the servo.

N

n - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
n - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
N - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
N - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
NEXT - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
NINE - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
NINE - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
NINE - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
NOISE - Enum constant in enum class com.pi4j.crowpi.components.SoundSensorComponent.SoundState
 
NORMAL - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.ScrollMode
Normally scroll the LED matrix in one direction, causing one row or column to be empty.
NOT_COMPLETE - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.RfidCardType
 
Note - Enum Class in com.pi4j.crowpi.helpers
Mapping of well-known piano keys 1 - 100 to their appropriate frequency in Hz Values based on https://en.wikipedia.org/wiki/Piano_key_frequencies#List
NUMBER_SIGN - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
NUMBER_SIGN - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 

O

o - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
o - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
O - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
O - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
off() - Method in class com.pi4j.crowpi.components.VibrationMotorComponent
Sets the vibration motor to off
on() - Method in class com.pi4j.crowpi.components.VibrationMotorComponent
Sets the vibration motor to on.
onCardDetected(EventHandler<RfidCard>) - Method in class com.pi4j.crowpi.components.RfidComponent
Sets or disables the handler for any new card which gets in the proximity of the PCD.
onDigitalStateChange(DigitalStateChangeEvent) - Method in class com.pi4j.crowpi.components.events.DigitalEventListener
Handles incoming Pi4J events by calling our own DigitalEventListener.handler with the mapped value from DigitalEventListener.mapper.
onDown(int, SimpleEventHandler) - Method in class com.pi4j.crowpi.components.ButtonMatrixComponent
Sets or disables the handler for the onDown of the given button.
onDown(SimpleEventHandler) - Method in class com.pi4j.crowpi.components.ButtonComponent
Sets or disables the handler for the onDown event.
ONE - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
ONE - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
ONE - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
onKeyPressed(EventHandler<IrReceiverComponent.Key>) - Method in class com.pi4j.crowpi.components.IrReceiverComponent
Sets or disables the handler for received IR key presses.
onMovement(SimpleEventHandler) - Method in class com.pi4j.crowpi.components.PirMotionSensorComponent
Sets or disables the handler for the onMovement event.
onNoise(SimpleEventHandler) - Method in class com.pi4j.crowpi.components.SoundSensorComponent
Sets or disables the handler for the onNoise event.
onObjectDisappeared(SimpleEventHandler) - Method in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Sets or disables the handler for the object disappear recognition.
onObjectFound(SimpleEventHandler) - Method in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Sets or disables the handler for the object found recognition.
onRelease(SimpleEventHandler) - Method in class com.pi4j.crowpi.components.TouchSensorComponent
Sets or disables the handler for the onRelease event.
onShake(int, SimpleEventHandler) - Method in class com.pi4j.crowpi.components.TiltSensorComponent
Sets or disables the handler for the onShake event.
onShake(SimpleEventHandler) - Method in class com.pi4j.crowpi.components.TiltSensorComponent
Sets or disables the handler for the onShake event.
onSilence(SimpleEventHandler) - Method in class com.pi4j.crowpi.components.SoundSensorComponent
Sets or disables the handler for the onSilence event.
onStillstand(SimpleEventHandler) - Method in class com.pi4j.crowpi.components.PirMotionSensorComponent
Sets or disables the handler for the onStillstand event.
onTiltLeft(SimpleEventHandler) - Method in class com.pi4j.crowpi.components.TiltSensorComponent
Sets or disables the handler for the onTiltLeft event.
onTiltRight(SimpleEventHandler) - Method in class com.pi4j.crowpi.components.TiltSensorComponent
Sets or disables the handler for the onTiltRight event.
onTouch(SimpleEventHandler) - Method in class com.pi4j.crowpi.components.TouchSensorComponent
Sets or disables the handler for the onTouch event.
onUp(int, SimpleEventHandler) - Method in class com.pi4j.crowpi.components.ButtonMatrixComponent
Sets or disables the handler for the onUp of the given button.
onUp(SimpleEventHandler) - Method in class com.pi4j.crowpi.components.ButtonComponent
Sets or disables the handler for the onUp event.
OWN_CHARACTER_1 - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
OWN_CHARACTER_2 - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
OWN_CHARACTER_3 - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
OWN_CHARACTER_4 - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
OWN_CHARACTER_5 - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
OWN_CHARACTER_6 - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
OWN_CHARACTER_7 - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 

P

p - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
p - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
P - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
P - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
PARENTHESIS_LEFT - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
PARENTHESIS_LEFT - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
PARENTHESIS_RIGHT - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
PARENTHESIS_RIGHT - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
PARITY_ERR - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.PcdError
 
PAUSE - Enum constant in enum class com.pi4j.crowpi.helpers.Note
 
PcdError - Enum Class in com.pi4j.crowpi.components.internal.rfid
Error types which can be signalled by the PCD
PERCENT - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
PERCENT - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
PERIOD - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
PERIOD - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
PirMotionSensorComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi PIR motion sensor using GPIO with Pi4J
PirMotionSensorComponent(Context) - Constructor for class com.pi4j.crowpi.components.PirMotionSensorComponent
Creates a new PIR motion sensor component using the default setup.
PirMotionSensorComponent(Context, int) - Constructor for class com.pi4j.crowpi.components.PirMotionSensorComponent
Creates a new PIR motion sensor component with custom GPIO address.
PirMotionSensorComponent.MotionState - Enum Class in com.pi4j.crowpi.components
All available states reported by the PIR motion sensor component.
PLAY_PAUSE - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
playSilence() - Method in class com.pi4j.crowpi.components.BuzzerComponent
Silences the buzzer and returns immediately.
playSilence(int) - Method in class com.pi4j.crowpi.components.BuzzerComponent
Silences the buzzer and waits for the given duration.
playTone(int) - Method in class com.pi4j.crowpi.components.BuzzerComponent
Plays a tone with the given frequency in Hz indefinitely.
playTone(int, int) - Method in class com.pi4j.crowpi.components.BuzzerComponent
Plays a tone with the given frequency in Hz for a specific duration.
PLUS - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
PLUS - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
PollerManager() - Constructor for class com.pi4j.crowpi.components.IrReceiverComponent.PollerManager
 
pollerProcessFactory - Variable in class com.pi4j.crowpi.components.IrReceiverComponent
Default poller process factory, should only be changed during tests for proper mocking.
PREV - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
print(char) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Prints the given character on the LED matrix, which will be immediately displayed.
print(double) - Method in class com.pi4j.crowpi.components.SevenSegmentComponent
Prints the given double value to the seven-segment display, automatically setting the decimal point if applicable.
print(int) - Method in class com.pi4j.crowpi.components.SevenSegmentComponent
Prints the given integer value to the seven-segment display.
print(LedMatrixComponent.Symbol) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Prints the given symbol on the LED matrix, which will be immediately displayed.
print(String) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Prints the given string to the LED matrix by scrolling each character in from left to right with the default scroll delay.
print(String) - Method in class com.pi4j.crowpi.components.SevenSegmentComponent
Prints the first four letters (or less if applicable) of the given string to the display.
print(String, Direction) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Prints the given string to the LED matrix by scrolling each character in towards the given direction with the default scroll delay.
print(String, Direction, long) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Prints the given string to the LED matrix by scrolling each character in towards the given direction with a custom scroll delay.
print(LocalTime) - Method in class com.pi4j.crowpi.components.SevenSegmentComponent
Prints the hours and minutes of the given LocalTime instance to the seven-segment display.
PROTOCOL_ERR - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.PcdError
 
pulse(int) - Method in class com.pi4j.crowpi.components.VibrationMotorComponent
Enables the vibration motor a specified time in milliseconds
pulsePin(int, int) - Method in class com.pi4j.crowpi.components.internal.MCP23008
Pulse a IO Pin
pwm - Variable in class com.pi4j.crowpi.components.BuzzerComponent
 

Q

q - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
q - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
Q - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
Q - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
QUESTION - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
QUESTION - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
QUOTE_SINGLE - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
QUOTE_SINGLE - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 

R

r - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
r - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
R - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
R - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
readBlocking() - Method in class com.pi4j.crowpi.components.ButtonMatrixComponent
Idle-waits until a button is pressed and released and then returns the button number.
readBlocking(long) - Method in class com.pi4j.crowpi.components.ButtonMatrixComponent
Idle-waits until a button is pressed and released and then returns the button number.
readBytes() - Method in class com.pi4j.crowpi.components.internal.rfid.Mifare1K
Reads all available blocks from the card and returns a byte array.
readBytes() - Method in class com.pi4j.crowpi.components.internal.rfid.RfidCard
Reads all available blocks from the card and returns a byte array.
readLight() - Method in class com.pi4j.crowpi.components.LightSensorComponent
Measure current light intensity with default resolution (1lx)
readLight(int) - Method in class com.pi4j.crowpi.components.LightSensorComponent
Read current light intensity in lux with custom resolution settings
readObject() - Method in class com.pi4j.crowpi.components.internal.rfid.RfidCard
Reads a single Java object from the card without casting the result into a more-specific type.
readObject(Class<T>) - Method in class com.pi4j.crowpi.components.internal.rfid.RfidCard
Reads a single Java object from the card by deserializing a GZIP-compressed byte stream previously written onto the card.
refresh() - Method in class com.pi4j.crowpi.components.internal.HT16K33
Flushes the internal buffer to the chip, causing it to be displayed.
refresh() - Method in class com.pi4j.crowpi.components.internal.MAX7219
Flushes the internal buffer for all rows to the chip, causing it to be displayed.
refreshRow(int) - Method in class com.pi4j.crowpi.components.internal.MAX7219
Flushes the internal buffer for a single row to the chip, causing it to be displayed.
RelayComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi Relay using GPIO with Pi4J
RelayComponent(Context) - Constructor for class com.pi4j.crowpi.components.RelayComponent
Creates a new relay component using the default pin.
RelayComponent(Context, int) - Constructor for class com.pi4j.crowpi.components.RelayComponent
Creates a new buzzer component with a custom BCM pin.
remove() - Method in class com.pi4j.crowpi.components.events.DigitalEventListener
Removes this digital event listener, therefore preventing any future execution.
remove() - Method in interface com.pi4j.crowpi.components.events.EventListener
Removes the listener and therefore prevents any execution in the future.
removeListener(DigitalEventListener<V>) - Method in interface com.pi4j.crowpi.components.events.DigitalEventProvider
Removes an existing event listener from this component.
removeListener(L) - Method in interface com.pi4j.crowpi.components.events.EventProvider
Removes the given event listener.
REPLACE - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.ScrollMode
Scroll the LED matrix in one direction and replace the now empty row or column with values from a new buffer.
reset() - Method in class com.pi4j.crowpi.components.internal.rfid.MFRC522
Resets the PCD into a well-known state and calls MFRC522.init() to achieve a well-known state.
resetPin - Variable in class com.pi4j.crowpi.components.internal.rfid.MFRC522
Pi4J digital output optionally used as reset pin for the MFRC522
RfidCard - Class in com.pi4j.crowpi.components.internal.rfid
Abstract base class to be implemented by all supported RFID cards.
RfidCard(RfidCardUid) - Constructor for class com.pi4j.crowpi.components.internal.rfid.RfidCard
Creates a new RFID card instance for the given PICC UID.
RfidCardType - Enum Class in com.pi4j.crowpi.components.internal.rfid
Known RFID card types based on SAK detection
RfidCardUid - Class in com.pi4j.crowpi.components.internal.rfid
UID of RFID PICC / card which contains UID + SAK
RfidCardUid(byte[], byte) - Constructor for class com.pi4j.crowpi.components.internal.rfid.RfidCardUid
 
RfidCardUid(List<Byte>, byte) - Constructor for class com.pi4j.crowpi.components.internal.rfid.RfidCardUid
 
RfidCollisionException - Exception in com.pi4j.crowpi.components.exceptions
Collision exception for the RFID component based on RfidException.
RfidCollisionException() - Constructor for exception com.pi4j.crowpi.components.exceptions.RfidCollisionException
 
RfidCollisionException(String) - Constructor for exception com.pi4j.crowpi.components.exceptions.RfidCollisionException
 
RfidComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi RFID component using SPI with Pi4J
RfidComponent(Context) - Constructor for class com.pi4j.crowpi.components.RfidComponent
Creates a new RFID component with the default reset pin, channel and baud rate.
RfidComponent(Context, int, int) - Constructor for class com.pi4j.crowpi.components.RfidComponent
Creates a new RFID component with a custom channel, baud rate and no reset pin.
RfidComponent(Context, Integer, int, int) - Constructor for class com.pi4j.crowpi.components.RfidComponent
Creates a new RFID component with a custom reset pin, channel and baud rate.
RfidException - Exception in com.pi4j.crowpi.components.exceptions
Base exception for indicating failures within the RFID component
RfidException(PcdError) - Constructor for exception com.pi4j.crowpi.components.exceptions.RfidException
 
RfidException(String) - Constructor for exception com.pi4j.crowpi.components.exceptions.RfidException
 
RfidException(String, Throwable) - Constructor for exception com.pi4j.crowpi.components.exceptions.RfidException
 
RfidTimeoutException - Exception in com.pi4j.crowpi.components.exceptions
Timeout exception for the RFID component based on RfidException.
RfidTimeoutException(String) - Constructor for exception com.pi4j.crowpi.components.exceptions.RfidTimeoutException
 
RfidUnsupportedCardException - Exception in com.pi4j.crowpi.components.exceptions
Unsupported card exception for the RFID component based on RfidException.
RfidUnsupportedCardException(RfidCardType) - Constructor for exception com.pi4j.crowpi.components.exceptions.RfidUnsupportedCardException
 
RIGHT - Enum constant in enum class com.pi4j.crowpi.components.definitions.Button
RIGHT button with board pin 35
RIGHT - Enum constant in enum class com.pi4j.crowpi.components.definitions.Direction
 
RIGHT - Enum constant in enum class com.pi4j.crowpi.components.TiltSensorComponent.TiltState
 
RIGHT_BOTTOM - Enum constant in enum class com.pi4j.crowpi.components.SevenSegmentComponent.Segment
 
RIGHT_TOP - Enum constant in enum class com.pi4j.crowpi.components.SevenSegmentComponent.Segment
 
rotate(Direction) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Rotates the display towards the given direction and wraps around the affected row/column.
ROTATE - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.ScrollMode
Scroll the LED matrix in one direction and wrap the row or column around to the other side.
run() - Method in class com.pi4j.crowpi.components.IrReceiverComponent.PollerManager
 

S

s - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
s - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
S - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
S - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
scroll(Direction) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Scrolls the display towards the given direction and leaves the now empty row/column empty.
scroll(Direction, LedMatrixComponent.ScrollMode, byte[], int) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Scrolls the display towards the given direction and fills the empty row/column based on scroll mode.
select() - Method in class com.pi4j.crowpi.components.internal.rfid.MFRC522
Selects a single PICC by executing the ANTICOLLISION and SELECT procedure according to ISO 14443.
SEMICOLON - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
SEMICOLON - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
ServoMotorComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi Servo Motor using PWM with Pi4J
ServoMotorComponent(Context) - Constructor for class com.pi4j.crowpi.components.ServoMotorComponent
Creates a new step motor component with the default pin, angle range as well as duty cycle range.
ServoMotorComponent(Context, float, float, float, float) - Constructor for class com.pi4j.crowpi.components.ServoMotorComponent
Creates a new step motor component with the default pin and frequency but customized angle and duty cycle values.
ServoMotorComponent(Context, int, int, float, float, float, float) - Constructor for class com.pi4j.crowpi.components.ServoMotorComponent
Creates a new step motor component with custom pin, frequency, angle range and duty cycle range values.
setAndWritePin(int, boolean) - Method in class com.pi4j.crowpi.components.internal.MCP23008
Set a Pin an directly write it out to the hardware
setAngle(float) - Method in class com.pi4j.crowpi.components.ServoMotorComponent
Rotates the servo motor to the specified angle in degrees.
setAntennaState(boolean) - Method in class com.pi4j.crowpi.components.internal.rfid.MFRC522
Enables or disables the TX1 and TX2 antennas required for powering the PICCs.
setBlinkRate(int) - Method in class com.pi4j.crowpi.components.internal.HT16K33
Changes the desired blink rate for the seven-segment display.
setBrightness(int) - Method in class com.pi4j.crowpi.components.internal.HT16K33
Changes the desired brightness for the seven-segment display.
setBrightness(int) - Method in class com.pi4j.crowpi.components.internal.MAX7219
Changes the desired brightness for the LED matrix.
setColon(boolean) - Method in class com.pi4j.crowpi.components.SevenSegmentComponent
Enables or disables the colon symbol of the seven-segment display.
setCursorBlinking(boolean) - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Set the cursor to blinking or static
setCursorToLine(int) - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Set the cursor to line 1 or 2
setCursorToPosition(int, int) - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Sets the cursor to a target destination
setCursorVisibility(boolean) - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Sets the display cursor to hidden or showing
setDecimalPoint(int, boolean) - Method in class com.pi4j.crowpi.components.SevenSegmentComponent
Enables or disables the decimal point at the given digit position.
setDetectionRange(double, double) - Method in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
With this Method the range where a object should be recognized is defined.
setDigit(int, char) - Method in class com.pi4j.crowpi.components.SevenSegmentComponent
Sets the digit at the specified position to the given character.
setDigit(int, int) - Method in class com.pi4j.crowpi.components.SevenSegmentComponent
Sets the digit at the specified position to the given integer.
setDigit(int, SevenSegmentComponent.Segment...) - Method in class com.pi4j.crowpi.components.SevenSegmentComponent
Sets the digit at the specified position to match the given segments.
setDisplayBacklight(boolean) - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Enable and Disable the Backlight of the LCD Display
setEnabled(boolean) - Method in class com.pi4j.crowpi.components.internal.HT16K33
Specifies if the seven-segment display should be enabled or disabled.
setEnabled(boolean) - Method in class com.pi4j.crowpi.components.internal.MAX7219
Specifies if the LED matrix should be enabled or disabled.
setMeasurementTemperature(double) - Method in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Sets the currently used measurement temperature by this ultrasonic sensor.
setOptions(int, SimpleEventHandler) - Method in class com.pi4j.crowpi.components.events.FlappingEventProvider
Sets the threshold and event handler for this instance.
setPercent(float) - Method in class com.pi4j.crowpi.components.ServoMotorComponent
Rotates the servo by mapping a percentage value to the range between ServoMotorComponent.getMinAngle() and ServoMotorComponent.getMaxAngle().
setPin(int, boolean) - Method in class com.pi4j.crowpi.components.internal.MCP23008
Set the state of a pin to high or low.
setPixel(int, int, boolean) - Method in class com.pi4j.crowpi.components.internal.MAX7219
Enables or disables the pixel at the given X/Y position within the internal buffer.
setRange(float, float) - Method in class com.pi4j.crowpi.components.ServoMotorComponent
Adjusts the minimum and maximum for the user-defined range which can be used in combination with ServoMotorComponent.moveOnRange(float).
setRawDigit(int, byte) - Method in class com.pi4j.crowpi.components.SevenSegmentComponent
Sets the raw digit at the specified position.
setState(boolean) - Method in class com.pi4j.crowpi.components.RelayComponent
Set the Relay on or off depending on the boolean argument.
setState(boolean) - Method in class com.pi4j.crowpi.components.VibrationMotorComponent
Set the vibration motor on or off depending on the boolean argument.
setStateOff() - Method in class com.pi4j.crowpi.components.RelayComponent
Sets the relay to off
setStateOn() - Method in class com.pi4j.crowpi.components.RelayComponent
Sets the relay to on.
setTestMode(boolean) - Method in class com.pi4j.crowpi.components.internal.MAX7219
Enables or disables the testing mode of the LED matrix.
SEVEN - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
SEVEN - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
SEVEN - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
SevenSegmentComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi seven-segment display using I2C with Pi4J
SevenSegmentComponent(Context) - Constructor for class com.pi4j.crowpi.components.SevenSegmentComponent
Creates a new seven-segment display component with the default bus and device address.
SevenSegmentComponent(Context, int, int) - Constructor for class com.pi4j.crowpi.components.SevenSegmentComponent
Creates a new seven-segment display component with a custom bus and device address.
SevenSegmentComponent.Segment - Enum Class in com.pi4j.crowpi.components
Mapping of segments to their respective bit according to the HT16K33.
SHIN - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
SILENT - Enum constant in enum class com.pi4j.crowpi.components.SoundSensorComponent.SoundState
 
SimpleEventHandler - Interface in com.pi4j.crowpi.components.events
Generic functional interface for simple event handlers, which are event handlers without a parameter.
SimpleEventProvider<E> - Interface in com.pi4j.crowpi.components.events
Generic simple event provider with empty default implementation.
SIX - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
SIX - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
SIX - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
SLASH - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
SLASH - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
sleep(long) - Method in class com.pi4j.crowpi.components.Component
Utility function to sleep for the specified amount of milliseconds.
SMALL_ALPHA - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
SMALL_BACKSLASH - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
SMALL_EPSILON - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
SMALL_MY - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
SMALL_PI - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
SMALL_RHO - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
SMALL_SIGMA - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
SMILEY_HAPPY - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
SMILEY_NEUTRAL - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
SMILEY_SAD - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
SMILEY_SHOCKED - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
SoundSensorComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi sound sensor using GPIO with Pi4J
SoundSensorComponent(Context) - Constructor for class com.pi4j.crowpi.components.SoundSensorComponent
Creates a new sound sensor component using the default setup.
SoundSensorComponent(Context, int, long) - Constructor for class com.pi4j.crowpi.components.SoundSensorComponent
Create sound sensor component with custom parameters
SoundSensorComponent.SoundState - Enum Class in com.pi4j.crowpi.components
All available states reported by the sound sensor component.
SPACE - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
SPACE - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
spi - Variable in class com.pi4j.crowpi.components.internal.MAX7219
Pi4J SPI instance
spi - Variable in class com.pi4j.crowpi.components.internal.rfid.MFRC522
Pi4J SPI instance
SQUARE - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
SQUARE_ROOT - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
startPoller(long) - Method in class com.pi4j.crowpi.components.ButtonMatrixComponent
(Re-)starts the poller with the desired time period in milliseconds.
startPoller(long) - Method in class com.pi4j.crowpi.components.HumiTempComponent
(Re-)starts the poller with the desired time period in milliseconds.
startPoller(long) - Method in class com.pi4j.crowpi.components.RfidComponent
(Re-)starts the poller with the desired time period in milliseconds.
startPoller(long) - Method in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
(Re-)starts the poller with the desired time period in milliseconds.
StepMotorComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi Step Motor using GPIO with Pi4J
StepMotorComponent(Context) - Constructor for class com.pi4j.crowpi.components.StepMotorComponent
Creates a new step motor component with the default pins, steps and pulse duration.
StepMotorComponent(Context, int[], int[][], long) - Constructor for class com.pi4j.crowpi.components.StepMotorComponent
Creates a new step motor component with custom pins, steps and pulse duration.
STILLSTAND - Enum constant in enum class com.pi4j.crowpi.components.PirMotionSensorComponent.MotionState
 
stopPoller() - Method in class com.pi4j.crowpi.components.ButtonMatrixComponent
Stops the poller immediately, therefore causing the button states to be no longer refreshed.
stopPoller() - Method in class com.pi4j.crowpi.components.RfidComponent
Stops the poller immediately, therefore causing RFID cards to be no longer detected.
stopPoller() - Method in class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Stops the poller immediately, therefore causing the button states to be no longer refreshed.

T

t - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
t - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
T - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
T - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
TEMP_ERR - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.PcdError
 
THREE - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
THREE - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
THREE - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
TILDE - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
TiltSensorComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi tilt sensor using GPIO with Pi4J
TiltSensorComponent(Context) - Constructor for class com.pi4j.crowpi.components.TiltSensorComponent
Creates a new tilt sensor component using the default setup.
TiltSensorComponent(Context, int, long) - Constructor for class com.pi4j.crowpi.components.TiltSensorComponent
Creates a new tilt sensor component with custom GPIO address and debounce time.
TiltSensorComponent.TiltState - Enum Class in com.pi4j.crowpi.components
All available states reported by the tilt sensor component.
TNP3XXX - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.RfidCardType
 
toArray(List<Byte>) - Static method in class com.pi4j.crowpi.components.helpers.ByteHelpers
Converts a Byte-List into an array of bytes
toggle() - Method in class com.pi4j.crowpi.components.VibrationMotorComponent
Toggle the vibration motor state depending on its current state.
toggleState() - Method in class com.pi4j.crowpi.components.RelayComponent
Toggle the relay state depending on its current state.
TOP - Enum constant in enum class com.pi4j.crowpi.components.SevenSegmentComponent.Segment
 
TOP_LEFT_CORNER - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
toString() - Method in class com.pi4j.crowpi.components.internal.rfid.RfidCardUid
 
toString() - Method in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
toString(byte) - Static method in class com.pi4j.crowpi.components.helpers.ByteHelpers
Converts a single byte into a 0x prefixed hexadecimal string
toString(byte[]) - Static method in class com.pi4j.crowpi.components.helpers.ByteHelpers
Converts an array of bytes into a 0x prefixed hexadecimal string
TOUCHED - Enum constant in enum class com.pi4j.crowpi.components.TouchSensorComponent.TouchState
 
TouchSensorComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi touch sensor using GPIO with Pi4J
TouchSensorComponent(Context) - Constructor for class com.pi4j.crowpi.components.TouchSensorComponent
Creates a new touch sensor component using the default setup.
TouchSensorComponent(Context, int, long) - Constructor for class com.pi4j.crowpi.components.TouchSensorComponent
Create touch sensor component with custom parameters
TouchSensorComponent.TouchState - Enum Class in com.pi4j.crowpi.components
All available states reported by the touch sensor component.
trace(String, Object...) - Method in class com.pi4j.crowpi.components.helpers.Logger
 
transition(LedMatrixComponent.Symbol) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Transitions the current LED matrix display to the given symbol by gradually scrolling the symbol in.
transition(LedMatrixComponent.Symbol, Direction) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Transitions the current LED matrix display to the given symbol by gradually scrolling the symbol in with the default scroll delay.
transition(LedMatrixComponent.Symbol, Direction, long) - Method in class com.pi4j.crowpi.components.LedMatrixComponent
Transitions the current LED matrix display to the given symbol by gradually scrolling the symbol in.
triggerSimpleEvent(SimpleEventHandler) - Method in class com.pi4j.crowpi.components.Component
Utility function to trigger a simple event handler.
TSHE - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
turnBackward(int) - Method in class com.pi4j.crowpi.components.StepMotorComponent
Turns the step motor backward for the given amount of steps.
turnDegrees(int) - Method in class com.pi4j.crowpi.components.StepMotorComponent
Turns the step motor by the given amount of degrees.
turnForward(int) - Method in class com.pi4j.crowpi.components.StepMotorComponent
Turns the step motor forward for the given amount of steps.
TWO - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
TWO - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
TWO - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
TWO_HUNDRED_PLUS - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 

U

u - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
u - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
U - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
U - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
UltrasonicDistanceSensorComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi ultrasonic distance sensor (HC-SR04) using GPIO with Pi4J
UltrasonicDistanceSensorComponent(Context) - Constructor for class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Creates a new ultrasonic distance sensor component using the default setup.
UltrasonicDistanceSensorComponent(Context, int, int) - Constructor for class com.pi4j.crowpi.components.UltrasonicDistanceSensorComponent
Creates a new ultrasonic distance sensor component with custom GPIO addresses
UNDERSCORE - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
UNDERSCORE - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
uninitializeCard() - Method in class com.pi4j.crowpi.components.internal.rfid.MFRC522
Uninitializes the currently active card by sending it back into HALT state and stopping encrypted communication.
UNKNOWN - Enum constant in enum class com.pi4j.crowpi.components.ButtonComponent.ButtonState
 
UNKNOWN - Enum constant in enum class com.pi4j.crowpi.components.PirMotionSensorComponent.MotionState
 
UNKNOWN - Enum constant in enum class com.pi4j.crowpi.components.SoundSensorComponent.SoundState
 
UNKNOWN - Enum constant in enum class com.pi4j.crowpi.components.TiltSensorComponent.TiltState
 
UNKNOWN - Enum constant in enum class com.pi4j.crowpi.components.TouchSensorComponent.TouchState
 
UNTOUCHED - Enum constant in enum class com.pi4j.crowpi.components.TouchSensorComponent.TouchState
 
UP - Enum constant in enum class com.pi4j.crowpi.components.ButtonComponent.ButtonState
 
UP - Enum constant in enum class com.pi4j.crowpi.components.definitions.Button
UP button with board pin 37
UP - Enum constant in enum class com.pi4j.crowpi.components.definitions.Direction
 

V

v - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
v - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
V - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
V - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
valueOf(String) - Static method in enum class com.pi4j.crowpi.components.ButtonComponent.ButtonState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pi4j.crowpi.components.definitions.Button
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pi4j.crowpi.components.definitions.Direction
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pi4j.crowpi.components.internal.rfid.MifareKey.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pi4j.crowpi.components.internal.rfid.PcdError
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pi4j.crowpi.components.internal.rfid.RfidCardType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pi4j.crowpi.components.LedMatrixComponent.ScrollMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pi4j.crowpi.components.PirMotionSensorComponent.MotionState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pi4j.crowpi.components.SevenSegmentComponent.Segment
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pi4j.crowpi.components.SoundSensorComponent.SoundState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pi4j.crowpi.components.TiltSensorComponent.TiltState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pi4j.crowpi.components.TouchSensorComponent.TouchState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.pi4j.crowpi.helpers.Note
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.pi4j.crowpi.components.ButtonComponent.ButtonState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pi4j.crowpi.components.definitions.Button
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pi4j.crowpi.components.definitions.Direction
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pi4j.crowpi.components.internal.rfid.MifareKey.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pi4j.crowpi.components.internal.rfid.PcdError
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pi4j.crowpi.components.internal.rfid.RfidCardType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pi4j.crowpi.components.LedMatrixComponent.ScrollMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pi4j.crowpi.components.PirMotionSensorComponent.MotionState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pi4j.crowpi.components.SevenSegmentComponent.Segment
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pi4j.crowpi.components.SoundSensorComponent.SoundState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pi4j.crowpi.components.TiltSensorComponent.TiltState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pi4j.crowpi.components.TouchSensorComponent.TouchState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.pi4j.crowpi.helpers.Note
Returns an array containing the constants of this enum class, in the order they are declared.
VibrationMotorComponent - Class in com.pi4j.crowpi.components
Implementation of the CrowPi vibration motor using GPIO with Pi4J
VibrationMotorComponent(Context) - Constructor for class com.pi4j.crowpi.components.VibrationMotorComponent
Creates a new vibration motor component using the default pin.
VibrationMotorComponent(Context, int) - Constructor for class com.pi4j.crowpi.components.VibrationMotorComponent
Creates a new vibration motor component with a custom BCM pin.
VOL_MINUS - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
VOL_PLUS - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 

W

w - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
w - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
W - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
W - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
waitForAnyCard(EventHandler<RfidCard>) - Method in class com.pi4j.crowpi.components.RfidComponent
Blocks current thread until any card has been detected, then runs the handler and continues.
waitForNewCard(EventHandler<RfidCard>) - Method in class com.pi4j.crowpi.components.RfidComponent
Blocks current thread until a new card has been detected, then runs the handler and continues.
warn(String, Object...) - Method in class com.pi4j.crowpi.components.helpers.Logger
 
WIDTH - Static variable in class com.pi4j.crowpi.components.internal.MAX7219
Width of MAX7219 LED matrix
WR_ERR - Enum constant in enum class com.pi4j.crowpi.components.internal.rfid.PcdError
 
write(int) - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Write a number (byte) to the LCD Display
write(int, boolean) - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Write a Number (byte) or character according to the LCD Display
writeBytes(byte[]) - Method in class com.pi4j.crowpi.components.internal.rfid.Mifare1K
Writes the given data to the card, using as many blocks as needed.
writeBytes(byte[]) - Method in class com.pi4j.crowpi.components.internal.rfid.RfidCard
Writes the given data to the card, using as many blocks as needed.
writeCharacter(char) - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Writes a character to the current cursor position
writeCharacter(char, int, int) - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Write a character to a specified place on the display.
writeLine(String, int) - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Write a Line of Text on the LCD Display
writeObject(Object) - Method in class com.pi4j.crowpi.components.internal.rfid.RfidCard
Stores a single Java object onto the card by serializing the passed object and writing a GZIP-compressed byte stream.
writePins() - Method in class com.pi4j.crowpi.components.internal.MCP23008
Write the Buffer out to the Pins
writeText(String) - Method in class com.pi4j.crowpi.components.LcdDisplayComponent
Write a text upto 32 characters to the display

X

x - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
x - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
X - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
X - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 

Y

y - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
y - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
Y - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
Y - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
YEN - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 

Z

z - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
z - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
Z - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
Z - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
ZERO - Enum constant in enum class com.pi4j.crowpi.components.IrReceiverComponent.Key
 
ZERO - Enum constant in enum class com.pi4j.crowpi.components.LcdDisplayComponent.Symbol
 
ZERO - Enum constant in enum class com.pi4j.crowpi.components.LedMatrixComponent.Symbol
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form