Hardware I/O
The Hardware I/O library allows access to the computer's hardware periperals, such as digital inputs and outputs, serial busses, and the like, in a fashion similar to the Arduino plaform. This library is only available for embedded Linux boards with the necessary kernel drivers, such as the Raspberry Pi.
The source code is available on the processing GitHub repository. Please report bugs here.
GPIO
The GPIO class reads and writes from General Purpose I/O pins.
pinMode()
digitalWrite()
digitalRead()
attachInterrupt()
noInterrupts()
interrupts()
releaseInterrupt()
waitForInterrupt()
releasePin()
I2C
The I2C class communicates with peripherals over I2C interfaces.
I2C
list()
beginTransmission()
write()
read()
endTransmission()
close()
LED
The LED class controls the computer's build-in lights.
LED
list()
brightness()
close()
PWM
The PWM class controls hardware Pulse-width modulation channels, if supported by your platform.
PWM
list()
set()
clear()
close()
RPI
The RPI class is a helper for use with the Raspberry Pi.
RPI
SPI
The SPI class communicates with attached devices over SPI interfaces.
SPI
list()
settings()
transfer()
close()