public final class Pi1 extends ThePi.ComBeh
Pi2
,
Pi3
,
ClientPigpiod
ThePi.ComBeh, ThePi.Impl, ThePi.Port
Modifier and Type | Field and Description |
---|---|
static int |
PIN03
26 pin connector GPIO assignment mapping.
|
static int |
PIN05 |
static int |
PIN07 |
static int |
PIN08 |
static int |
PIN10 |
static int |
PIN11 |
static int |
PIN12 |
static int |
PIN13 |
static int |
PIN15 |
static int |
PIN16 |
static int |
PIN18 |
static int |
PIN19 |
static int |
PIN21 |
static int |
PIN22 |
static int |
PIN23 |
static int |
PIN24 |
static int |
PIN26 |
static int |
PIN3 |
static int |
PIN4 |
static int |
PIN7 |
static int |
PIN8 |
type
defaultHost
GPIO_INP, GPIO_OUT, GPIOmax, GPIOmin, GPIOutM, H1, HI, L0, LO, PI_PUD_DOWN, PI_PUD_DT, PI_PUD_KP, PI_PUD_OFF, PI_PUD_UP, PIN0, PIN00, PIN01, PIN02, PIN04, PIN06, PIN09, PIN0V, PIN1, PIN14, PIN17, PIN2, PIN20, PIN25, PIN3V, PIN5V, PIN6, PIN9, PINig, PINix, PIO_ALT0, PIO_ALT1, PIO_ALT2, PIO_ALT3, PIO_ALT4, PIO_ALT5
AUTHOR, BLANK_STRING, cons, CONSOL_ENCODING, COPYRIGHT, D, D_NaN, D_NegInf, D_PosInf, EMPTY_INT_A, EMPTY_STRING, FILE_ENCODING, FRW_CLLD, FS, FSS, H, hasCons, HOST_IP, HOST_IPv4, HOST_NAME, INIT_ERROR, JAR_ENCODING, JH, JOB_DONE_OK, JRL, LOG_OUT_ERROR, M, MAIN_THREAD_EXC, NO_BYTES, NO_CLASSES, NO_DOUBLES, NO_OBJECTS, NO_PARS_ERROR, NO_STRINGS, NOT_WINDOWS, ON_PI, ONE_DAY, ONE_HOUR, ONE_LEAP_YEAR, ONE_MINUTE, ONE_SECOND, ONE_WEEK, ONE_YEAR, OS, PROG_NAME, PROG_SHORT, PS, RUNTIME, S, SHY, UD, UL, UL_UR_da, UR
Modifier and Type | Method and Description |
---|---|
int |
gpio2pin(int gpio)
Pin number to GPIO number lookup.
|
int |
gpio4pin(int pin)
Pin number to GPIO number lookup.
|
static Pi1 |
make()
Make a Pi1 object with default settings.
|
static Pi1 |
make(String host,
int port,
int timeout)
Make a Pi1 object.
|
equals, hashCode, host, sockP, timeout, toString, type
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
gpio2String, gpio4pinChck, gpioMayOut, gpios4pins, gpios4pinsChck, make, pinDescr, portByGPIO, portByPin
public static final int PIN03
public static final int PIN05
public static final int PIN07
public static final int PIN08
public static final int PIN10
public static final int PIN11
public static final int PIN12
public static final int PIN13
public static final int PIN15
public static final int PIN16
public static final int PIN18
public static final int PIN19
public static final int PIN21
public static final int PIN22
public static final int PIN23
public static final int PIN24
public static final int PIN26
public static final int PIN3
public static final int PIN4
public static final int PIN7
public static final int PIN8
public final int gpio4pin(int pin)
pin
- 0, 1..26 is the legal IO connector pin numberPiVals.PIN0V
, PiVals.PIN3V
,
PiVals.PIN5V
, PiVals.PINix
: undefined, i.e. illegal pin number
or PiVals.PINig
ignore for pin = 0public final int gpio2pin(int gpio)
gpio
- 0..26 GPIO number (eventually) available on the
Pi's 26 pins connector.public static Pi1 make()