Constant Field Values
Contents
com.pi4j.*
-
com.pi4j.io.file.LinuxFile Modifier and Type Constant Field Value public static final int
localBufferSize
2048
-
com.pi4j.io.gpio.GpioProviderBase Modifier and Type Constant Field Value public static final int
DEFAULT_CACHE_SIZE
100
-
com.pi4j.io.gpio.RaspiGpioProvider Modifier and Type Constant Field Value public static final String
NAME
"RaspberryPi GPIO Provider"
-
com.pi4j.io.gpio.impl.GpioPinImpl Modifier and Type Constant Field Value protected final int
NO_DEBOUCE
0
-
com.pi4j.io.gpio.trigger.IFTTTMakerChannelTrigger Modifier and Type Constant Field Value protected static final String
IFTTT_MAKER_CHANNEL_URL
"https://maker.ifttt.com/trigger/%s/with/key/%s"
-
com.pi4j.io.i2c.I2CBus Modifier and Type Constant Field Value public static final int
BUS_0
0
public static final int
BUS_1
1
public static final int
BUS_10
10
public static final int
BUS_11
11
public static final int
BUS_12
12
public static final int
BUS_13
13
public static final int
BUS_14
14
public static final int
BUS_15
15
public static final int
BUS_16
16
public static final int
BUS_17
17
public static final int
BUS_2
2
public static final int
BUS_3
3
public static final int
BUS_4
4
public static final int
BUS_5
5
public static final int
BUS_6
6
public static final int
BUS_7
7
public static final int
BUS_8
8
public static final int
BUS_9
9
-
com.pi4j.io.i2c.I2CFactory Modifier and Type Constant Field Value public static final long
DEFAULT_LOCKAQUIRE_TIMEOUT
1000L
-
com.pi4j.io.serial.RaspberryPiSerial Modifier and Type Constant Field Value public static final String
AMA0_COM_PORT
"/dev/ttyAMA0"
public static final String
DEFAULT_COM_PORT
"/dev/ttyAMA0"
public static final String
S0_COM_PORT
"/dev/ttyS0"
-
com.pi4j.io.serial.Serial Modifier and Type Constant Field Value public static final String
DEFAULT_COM_PORT
"/dev/ttyAMA0"
public static final String
FIRST_USB_COM_PORT
"/dev/ttyUSB0"
public static final String
PRIMARY_COM_PORT
"/dev/serial0"
public static final String
SECOND_USB_COM_PORT
"/dev/ttyUSB1"
public static final String
SECONDARY_COM_PORT
"/dev/serial1"
-
com.pi4j.io.spi.SpiDevice Modifier and Type Constant Field Value public static final int
DEFAULT_SPI_SPEED
1000000
public static final int
MAX_SUPPORTED_BYTES
2048
-
com.pi4j.jni.Serial Modifier and Type Constant Field Value public static final String
DEFAULT_COM_PORT
"/dev/ttyAMA0"
public static final String
FIRST_USB_COM_PORT
"/dev/ttyUSB0"
public static final String
SECOND_USB_COM_PORT
"/dev/ttyUSB1"
-
com.pi4j.system.impl.RaspiSystemInfoProvider Modifier and Type Constant Field Value public static final short
RPI_MFG_EGOMAN
1
public static final short
RPI_MFG_EMBEST
2
public static final short
RPI_MFG_EMBEST2
4
public static final short
RPI_MFG_SONY
0
public static final short
RPI_MFG_UNKNOWN
3
public static final short
RPI_MODEL_2B
4
public static final short
RPI_MODEL_3A_PLUS
14
public static final short
RPI_MODEL_3B
8
public static final short
RPI_MODEL_3B_PLUS
13
public static final short
RPI_MODEL_400
19
public static final short
RPI_MODEL_4B
17
public static final short
RPI_MODEL_A
0
public static final short
RPI_MODEL_A_PLUS
2
public static final short
RPI_MODEL_ALPHA
5
public static final short
RPI_MODEL_B
1
public static final short
RPI_MODEL_B_PLUS
3
public static final short
RPI_MODEL_CM
6
public static final short
RPI_MODEL_CM3
10
public static final short
RPI_MODEL_CM3_PLUS
16
public static final short
RPI_MODEL_CM4
20
public static final short
RPI_MODEL_UNKNOWN
7
public static final short
RPI_MODEL_ZERO
9
public static final short
RPI_MODEL_ZERO_W
12
public static final short
RPI_PROC_BCM2835
0
public static final short
RPI_PROC_BCM2836
1
public static final short
RPI_PROC_BCM2837
2
public static final short
RPI_RAM_1024
2
public static final short
RPI_RAM_256
0
public static final short
RPI_RAM_512
1
-
com.pi4j.temperature.TemperatureConversion Modifier and Type Constant Field Value public static final double
ABSOLUTE_ZERO_CELSIUS
-273.15
public static final double
ABSOLUTE_ZERO_FARENHEIT
-459.67
public static final double
ABSOLUTE_ZERO_KELVIN
0.0
public static final double
ABSOLUTE_ZERO_RANKINE
0.0
-
com.pi4j.util.Console Modifier and Type Constant Field Value public static final String
CLEAR_SCREEN_ESCAPE_SEQUENCE
"\u001b[2J\u001b[1;1H"
public static final String
ERASE_LINE_ESCAPE_SEQUENCE
"\u001b[K"
public static final char
LINE_SEPARATOR_CHAR
42
-
com.pi4j.util.StringUtil Modifier and Type Constant Field Value public static final char
DEFAULT_PAD_CHAR
32
public static final String
EMPTY
""
-
com.pi4j.wiringpi.Gertboard Modifier and Type Constant Field Value public static final int
SPI_A2D
0
public static final int
SPI_ADC_SPEED
1000000
public static final int
SPI_D2A
1
public static final int
SPI_DAC_SPEED
1000000
-
com.pi4j.wiringpi.Gpio Modifier and Type Constant Field Value public static final int
ALT0
4
public static final int
ALT1
5
public static final int
ALT2
6
public static final int
ALT3
7
public static final int
ALT4
3
public static final int
ALT5
2
public static final int
GPIO_CLOCK
3
public static final int
HIGH
1
public static final int
INPUT
0
public static final int
INT_EDGE_BOTH
3
public static final int
INT_EDGE_FALLING
1
public static final int
INT_EDGE_RISING
2
public static final int
INT_EDGE_SETUP
0
public static final int
LOW
0
public static final int
NUM_PINS
46
public static final int
OUTPUT
1
public static final int
PUD_DOWN
1
public static final int
PUD_OFF
0
public static final int
PUD_UP
2
public static final int
PWM_MODE_BAL
1
public static final int
PWM_MODE_MS
0
public static final int
PWM_OUTPUT
2
-
com.pi4j.wiringpi.GpioUtil Modifier and Type Constant Field Value public static final int
DIRECTION_HIGH
2
public static final int
DIRECTION_IN
0
public static final int
DIRECTION_LOW
3
public static final int
DIRECTION_OUT
1
public static final int
EDGE_BOTH
1
public static final int
EDGE_FALLING
3
public static final int
EDGE_NONE
0
public static final int
EDGE_RISING
2
-
com.pi4j.wiringpi.Nes Modifier and Type Constant Field Value public static final int
MAX_NES_JOYSTICKS
8
public static final int
NES_A
128
public static final int
NES_B
64
public static final int
NES_DOWN
4
public static final int
NES_LEFT
2
public static final int
NES_RIGHT
1
public static final int
NES_SELECT
32
public static final int
NES_START
16
public static final int
NES_UP
8
public static final int
PULSE_TIME
25
-
com.pi4j.wiringpi.Serial Modifier and Type Constant Field Value public static final String
DEFAULT_COM_PORT
"/dev/ttyAMA0"
-
com.pi4j.wiringpi.Shift Modifier and Type Constant Field Value public static final int
LSBFIRST
0
public static final int
MSBFIRST
1