A B C D F G H I L M N P R S T U W 
All Classes All Packages

A

ADC_CHANNEL_COUNT - Static variable in class SpiExample
 

B

BlinkGpioExample - Class in <Unnamed>
This example code demonstrates how to perform simple blinking LED logic of a GPIO pin on the Raspberry Pi using the Pi4J library.
BlinkGpioExample() - Constructor for class BlinkGpioExample
 
BlinkTriggerGpioExample - Class in <Unnamed>
This example code demonstrates how to setup blinking triggers for GPIO pins on the Raspberry Pi.
BlinkTriggerGpioExample() - Constructor for class BlinkTriggerGpioExample
 
BroadcomPinNumberingGpioExample - Class in <Unnamed>
This example code demonstrates how to perform simple state control of a GPIO pin on the Raspberry Pi using the Broadcom chipset GPIO pin numbering scheme.
BroadcomPinNumberingGpioExample() - Constructor for class BroadcomPinNumberingGpioExample
 
BroadcomPinNumberingGpioListenerExample - Class in <Unnamed>
This example code demonstrates how to setup a listener for GPIO pin state changes on the RaspberryPi using the Broadcom chipset GPIO pin numbering scheme.
BroadcomPinNumberingGpioListenerExample() - Constructor for class BroadcomPinNumberingGpioListenerExample
 
bytesToHex(byte[]) - Static method in class WiringPiSPIExample
 

C

callback(int) - Method in class WiringPiGpioInterruptExample2.SampleCallbackClass
 
ComputeModuleGpioExample - Class in <Unnamed>
This example code demonstrates how to setup a listener for all available GPIO pins on the following boards: - RaspberryPi Compute Module 1 (CM1) - RaspberryPi Compute Module 3 (CM3) - RaspberryPi Compute Module 3 Plus (CM3+) NOTE: THE COMPUTE MODULE 4 (CM4) DOES NOT SUPPORT THE SAME 45 GPIO PINS PROVIDED BY 'RCMPin'.
ComputeModuleGpioExample() - Constructor for class ComputeModuleGpioExample
 
console - Static variable in class SpiExample
 
ControlGpioExample - Class in <Unnamed>
This example code demonstrates how to perform simple state control of a GPIO pin on the Raspberry Pi.
ControlGpioExample() - Constructor for class ControlGpioExample
 
CylonGpioExample - Class in <Unnamed>
This example code demonstrates how to perform a blinking cycle (cylon effect) of a series of GPIO pins on the Raspberry Pi.
CylonGpioExample() - Constructor for class CylonGpioExample
 

D

DebounceGpioExample - Class in <Unnamed>
This example code demonstrates how to setup a listener for GPIO pin state changes on the Raspberry Pi.
DebounceGpioExample() - Constructor for class DebounceGpioExample
 

F

FrequencyGpioExample - Class in <Unnamed>
This example code provides a continuous GPIO pin state changes on the Raspberry Pi to allow measurement of frequency.
FrequencyGpioExample() - Constructor for class FrequencyGpioExample
 

G

getConversionValue(short) - Static method in class SpiExample
Communicate to the ADC chip via SPI to get single-ended conversion value for a specified channel.
GpioInputAllExample - Class in <Unnamed>
This example code demonstrates how to perform simple GPIO pin state reading on the RaspberryPi platform fro all pins.
GpioInputAllExample() - Constructor for class GpioInputAllExample
 
GpioInputExample - Class in <Unnamed>
This example code demonstrates how to perform simple GPIO pin state reading on the Raspberry Pi.
GpioInputExample() - Constructor for class GpioInputExample
 
GpioInputPollingAllExample - Class in <Unnamed>
This example code demonstrates how to perform simple GPIO pin state reading using a polling loop on the RaspberryPi platform for all pins.
GpioInputPollingAllExample() - Constructor for class GpioInputPollingAllExample
 
GpioInputPollingExample - Class in <Unnamed>
This example code demonstrates how to perform simple GPIO pin state reading using a polling loop on the Raspberry Pi.
GpioInputPollingExample() - Constructor for class GpioInputPollingExample
 
GpioListenAllExample - Class in <Unnamed>
This example code demonstrates how to setup a listener for all available GPIO pins on the RaspberryPi (by specific model).
GpioListenAllExample() - Constructor for class GpioListenAllExample
 
GpioListenExample - Class in <Unnamed>
This example code demonstrates how to setup a listener for GPIO pin state changes on the RaspberryPi.
GpioListenExample() - Constructor for class GpioListenExample
 
GpioOutputAllExample - Class in <Unnamed>
This example code demonstrates how to perform simple state control of all GPIO pins on the RaspberryPi.
GpioOutputAllExample() - Constructor for class GpioOutputAllExample
 
GpioOutputExample - Class in <Unnamed>
This example code demonstrates how to perform simple state control of a GPIO pin on the RaspberryPi.
GpioOutputExample() - Constructor for class GpioOutputExample
 
gpioOutputsMenu() - Static method in class GpioTest
 
gpioOutputsTest(Pin[]) - Static method in class GpioTest
 
GpioTest - Class in <Unnamed>
This example code demonstrates how to perform simple state control of a GPIO pin on the RaspberryPi.
GpioTest() - Constructor for class GpioTest
 
GpioUsageExampleListener() - Constructor for class UsageGpioExample.GpioUsageExampleListener
 

H

handleGpioPinDigitalStateChangeEvent(GpioPinDigitalStateChangeEvent) - Method in class UsageGpioExample.GpioUsageExampleListener
 

I

I2CExample - Class in <Unnamed>
This example code demonstrates how to perform simple I2C communication on the Raspberry Pi.
I2CExample() - Constructor for class I2CExample
 
IFTTT_MAKER_CHANNEL_API_KEY - Static variable in class IFTTTMakerChannelTriggerExample
 
IFTTT_MAKER_CHANNEL_EVENT_NAME - Static variable in class IFTTTMakerChannelTriggerExample
 
IFTTTMakerChannelTriggerExample - Class in <Unnamed>
This example code demonstrates how to listen to a GPIO input pin on the Raspberry Pi and use the IFTTT Maker Channel trigger to send a triggered event to the IFTTT web service API.
IFTTTMakerChannelTriggerExample() - Constructor for class IFTTTMakerChannelTriggerExample
 

L

LCD_BITS - Static variable in class WiringPiLcdExample
 
LCD_COLUMNS - Static variable in class WiringPiLcdExample
 
LCD_ROWS - Static variable in class WiringPiLcdExample
 
ListenGpioExample - Class in <Unnamed>
This example code demonstrates how to setup a listener for GPIO pin state changes on the Raspberry Pi.
ListenGpioExample() - Constructor for class ListenGpioExample
 
ListenMultipleGpioExample - Class in <Unnamed>
This example code demonstrates how to setup a listener for GPIO pin state changes on the Raspberry Pi.
ListenMultipleGpioExample() - Constructor for class ListenMultipleGpioExample
 

M

main(String[]) - Static method in class BlinkGpioExample
 
main(String[]) - Static method in class BlinkTriggerGpioExample
 
main(String[]) - Static method in class BroadcomPinNumberingGpioExample
 
main(String[]) - Static method in class BroadcomPinNumberingGpioListenerExample
 
main(String[]) - Static method in class ComputeModuleGpioExample
 
main(String[]) - Static method in class ControlGpioExample
 
main(String[]) - Static method in class CylonGpioExample
 
main(String[]) - Static method in class DebounceGpioExample
 
main(String[]) - Static method in class FrequencyGpioExample
 
main(String[]) - Static method in class GpioInputAllExample
[ARGUMENT/OPTION "--pull (up|down|off)" | "-l (up|down|off)" | "--up" | "--down" ] This example program accepts an optional argument for specifying pin pull resistance.
main(String[]) - Static method in class GpioInputExample
[ARGUMENT/OPTION "--pin (#)" | "-p (#)" ] This example program accepts an optional argument for specifying the GPIO pin (by number) to use with this GPIO listener example.
main(String[]) - Static method in class GpioInputPollingAllExample
[ARGUMENT/OPTION "--pull (up|down|off)" | "-l (up|down|off)" | "--up" | "--down" ] This example program accepts an optional argument for specifying pin pull resistance.
main(String[]) - Static method in class GpioInputPollingExample
[ARGUMENT/OPTION "--pin (#)" | "-p (#)" ] This example program accepts an optional argument for specifying the GPIO pin (by number) to use with this GPIO listener example.
main(String[]) - Static method in class GpioListenAllExample
[ARGUMENT/OPTION "--pull (up|down|off)" | "-l (up|down|off)" | "--up" | "--down" ] This example program accepts an optional argument for specifying pin pull resistance.
main(String[]) - Static method in class GpioListenExample
[ARGUMENT/OPTION "--pin (#)" | "-p (#)" ] This example program accepts an optional argument for specifying the GPIO pin (by number) to use with this GPIO listener example.
main(String[]) - Static method in class GpioOutputAllExample
 
main(String[]) - Static method in class GpioOutputExample
[ARGUMENT/OPTION "--pin (#)" | "-p (#)" ] This example program accepts an optional argument for specifying the GPIO pin (by number) to use with this GPIO listener example.
main(String[]) - Static method in class GpioTest
 
main(String[]) - Static method in class I2CExample
Program Main Entry Point
main(String[]) - Static method in class IFTTTMakerChannelTriggerExample
 
main(String[]) - Static method in class ListenGpioExample
 
main(String[]) - Static method in class ListenMultipleGpioExample
 
main(String[]) - Static method in class MultipurposePinGpioExample
 
main(String[]) - Static method in class NonPrivilegedGpioExample
 
main(String[]) - Static method in class PwmExample
[ARGUMENT/OPTION "--pin (#)" | "-p (#)" ] This example program accepts an optional argument for specifying the GPIO pin (by number) to use with this GPIO listener example.
main(String[]) - Static method in class SerialBufferedDataExample
This example program supports the following optional command arguments/options: "--device (device-path)" [DEFAULT: /dev/ttyAMA0] "--baud (baud-rate)" [DEFAULT: 38400] "--data-bits (5|6|7|8)" [DEFAULT: 8] "--parity (none|odd|even)" [DEFAULT: none] "--stop-bits (1|2)" [DEFAULT: 1] "--flow-control (none|hardware|software)" [DEFAULT: none]
main(String[]) - Static method in class SerialExample
This example program supports the following optional command arguments/options: "--device (device-path)" [DEFAULT: /dev/ttyAMA0] "--baud (baud-rate)" [DEFAULT: 38400] "--data-bits (5|6|7|8)" [DEFAULT: 8] "--parity (none|odd|even)" [DEFAULT: none] "--stop-bits (1|2)" [DEFAULT: 1] "--flow-control (none|hardware|software)" [DEFAULT: none]
main(String[]) - Static method in class ShutdownGpioExample
 
main(String[]) - Static method in class SoftPwmExample
[ARGUMENT/OPTION "--pin (#)" | "-p (#)" ] This example program accepts an optional argument for specifying the GPIO pin (by number) to use with this GPIO listener example.
main(String[]) - Static method in class SpiExample
Sample SPI Program
main(String[]) - Static method in class SystemInfoExample
 
main(String[]) - Static method in class TriggerGpioExample
 
main(String[]) - Static method in class UsageGpioExample
 
main(String[]) - Static method in class WDTExample
 
main(String[]) - Static method in class WiringPiGpioExample
 
main(String[]) - Static method in class WiringPiGpioInterruptExample
 
main(String[]) - Static method in class WiringPiGpioInterruptExample2
Example program to demonstrate the usage of WiringPiISR()
main(String[]) - Static method in class WiringPiLcdExample
 
main(String[]) - Static method in class WiringPiPinAltExample
 
main(String[]) - Static method in class WiringPiSerialExample
 
main(String[]) - Static method in class WiringPiSoftPWMExample
 
main(String[]) - Static method in class WiringPiSPIExample
 
MultipurposePinGpioExample - Class in <Unnamed>
This example code demonstrates how to setup a multi-purpose digital pin on the Raspberry Pi.
MultipurposePinGpioExample() - Constructor for class MultipurposePinGpioExample
 

N

NonPrivilegedGpioExample - Class in <Unnamed>
This example code demonstrates how to use Pi4J with non-privileged access (non-root/sudo) to GPIO pins on the Raspberry Pi.
NonPrivilegedGpioExample() - Constructor for class NonPrivilegedGpioExample
 

P

PwmExample - Class in <Unnamed>
This example code demonstrates how to setup a hardware supported PWM pin GpioProvider
PwmExample() - Constructor for class PwmExample
 

R

read() - Static method in class SpiExample
Read data via SPI bus from MCP3002 chip.
read(byte) - Static method in class WiringPiSPIExample
 
READ_CMD - Static variable in class WiringPiSPIExample
 

S

SampleCallbackClass(String) - Constructor for class WiringPiGpioInterruptExample2.SampleCallbackClass
 
SerialBufferedDataExample - Class in <Unnamed>
This example code demonstrates how to perform serial communications using the Raspberry Pi.
SerialBufferedDataExample() - Constructor for class SerialBufferedDataExample
 
SerialExample - Class in <Unnamed>
This example code demonstrates how to perform serial communications using the Raspberry Pi.
SerialExample() - Constructor for class SerialExample
 
ShutdownGpioExample - Class in <Unnamed>
This example code demonstrates how to perform simple state control of a GPIO pin on the Raspberry Pi.
ShutdownGpioExample() - Constructor for class ShutdownGpioExample
 
SoftPwmExample - Class in <Unnamed>
This example code demonstrates how to setup a software emulated PWM pin using the RaspberryPi GPIO pins.
SoftPwmExample() - Constructor for class SoftPwmExample
 
spi - Static variable in class SpiExample
 
SpiExample - Class in <Unnamed>
This example code demonstrates how to perform basic SPI communications using the Raspberry Pi.
SpiExample() - Constructor for class SpiExample
 
SystemInfoExample - Class in <Unnamed>
This example code demonstrates how to access a few of the system information properties and network information from the Raspberry Pi.
SystemInfoExample() - Constructor for class SystemInfoExample
 

T

TriggerGpioExample - Class in <Unnamed>
This example code demonstrates how to setup simple triggers for GPIO pins on the Raspberry Pi.
TriggerGpioExample() - Constructor for class TriggerGpioExample
 
TSL2561_ADDR - Static variable in class I2CExample
 
TSL2561_POWER_DOWN - Static variable in class I2CExample
 
TSL2561_POWER_UP - Static variable in class I2CExample
 
TSL2561_REG_CONTROL - Static variable in class I2CExample
 
TSL2561_REG_DATA_0 - Static variable in class I2CExample
 
TSL2561_REG_DATA_1 - Static variable in class I2CExample
 
TSL2561_REG_ID - Static variable in class I2CExample
 

U

UsageGpioExample - Class in <Unnamed>
This example code demonstrates how to setup simple triggers for GPIO pins on the Raspberry Pi.
UsageGpioExample() - Constructor for class UsageGpioExample
 
UsageGpioExample.GpioUsageExampleListener - Class in <Unnamed>
 

W

WDTExample - Class in <Unnamed>
 
WDTExample() - Constructor for class WDTExample
 
WiringPiGpioExample - Class in <Unnamed>
 
WiringPiGpioExample() - Constructor for class WiringPiGpioExample
 
WiringPiGpioInterruptExample - Class in <Unnamed>
 
WiringPiGpioInterruptExample() - Constructor for class WiringPiGpioInterruptExample
 
WiringPiGpioInterruptExample2 - Class in <Unnamed>
 
WiringPiGpioInterruptExample2() - Constructor for class WiringPiGpioInterruptExample2
 
WiringPiGpioInterruptExample2.SampleCallbackClass - Class in <Unnamed>
 
WiringPiLcdExample - Class in <Unnamed>
 
WiringPiLcdExample() - Constructor for class WiringPiLcdExample
 
WiringPiPinAltExample - Class in <Unnamed>
 
WiringPiPinAltExample() - Constructor for class WiringPiPinAltExample
 
WiringPiSerialExample - Class in <Unnamed>
 
WiringPiSerialExample() - Constructor for class WiringPiSerialExample
 
WiringPiSoftPWMExample - Class in <Unnamed>
 
WiringPiSoftPWMExample() - Constructor for class WiringPiSoftPWMExample
 
WiringPiSPIExample - Class in <Unnamed>
 
WiringPiSPIExample() - Constructor for class WiringPiSPIExample
 
write(byte, int) - Static method in class WiringPiSPIExample
 
WRITE_CMD - Static variable in class WiringPiSPIExample
 
A B C D F G H I L M N P R S T U W 
All Classes All Packages