Modifier and Type | Method and Description |
---|---|
static Device |
Processing.digital2Volt(Device device)
digital2Volt: this method return the device passed as parameter, but with the data converted
from the digital value read to Volts.
|
Device |
Server.getDevice(int pos)
getDevice: returns the device in the position specified.
|
Device |
Server.getDevice(java.lang.String name)
getDevice: returns the device whose name matches with the parameter.
|
static Device |
InputOutput.readGPIO(Raspberry rpi,
Device device)
readGPIO: This method read the GPIO port specified.
|
static Device |
InputOutput.readI2C(Raspberry rpi,
Device device)
readI2C: This method return the device with the data value read from the I2C device
|
static Device |
InputOutput.setDefault(Raspberry rpi,
Device device)
setDefault: this method set the GPIO port to the default value.
|
static Device |
Processing.volt2Omh(Device device)
volt2Omh: this method return the device passed as parameter, but with the data converted
from Volts to Ohmns.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Device> |
Server.getListDevices()
getListDevices: return the list of devices.
|
Modifier and Type | Method and Description |
---|---|
static void |
InputOutput.activateGPIO(Raspberry rpi,
Device device)
activateGPIO: This method activate the GPIO port specified, according to their level activation
|
void |
Server.addDevice(Device device)
addDevice: This add a Device to the list of devices in the Server
|
static void |
InputOutput.deactivateGPIO(Raspberry rpi,
Device device)
deactivateGPIO: This method deactivate the GPIO port specified, according to their level activation and de-activation.
|
static Device |
Processing.digital2Volt(Device device)
digital2Volt: this method return the device passed as parameter, but with the data converted
from the digital value read to Volts.
|
static java.lang.String |
Processing.NTC2Temp(Device device)
NTC2Temp: this method return the temperature of the device passed as parameter.
|
static Device |
InputOutput.readGPIO(Raspberry rpi,
Device device)
readGPIO: This method read the GPIO port specified.
|
static Device |
InputOutput.readI2C(Raspberry rpi,
Device device)
readI2C: This method return the device with the data value read from the I2C device
|
static Device |
InputOutput.setDefault(Raspberry rpi,
Device device)
setDefault: this method set the GPIO port to the default value.
|
void |
Server.updateDevice(Device device)
updateDevice: update the device in the device list, searching their position by their name.
|
int |
Server.updateDevice(Device device,
int pos)
updateDevice: update the device in the specified position.
|
static Device |
Processing.volt2Omh(Device device)
volt2Omh: this method return the device passed as parameter, but with the data converted
from Volts to Ohmns.
|