public class SocketFirmataAdapter extends FirmataAdapter
FirmataAdapter.FirmwareDetails, FirmataAdapter.I2CResponseFirmataProtocol.PinCapability, FirmataProtocol.PinModeANALOG_IO_END, ANALOG_IO_START, ANALOG_MAPPING_QUERY, ANALOG_MAPPING_RESPONSE, CAPABILITY_QUERY, CAPABILITY_RESPONSE, DIGITAL_IO_END, DIGITAL_IO_START, END_SYSEX, EXTENDED_ANALOG, EXTENDED_ID, I2C_REPLY, I2C_REQUEST, PIN_STATE_QUERY, PIN_STATE_RESPONSE, PROTOCOL_VERSION, REPORT_ANALOG_PIN, REPORT_DIGITAL_PORT, REPORT_FIRMWARE, SAMPLING_INTERVAL, SET_DIGITAL_PIN_VALUE, SET_PIN_MODE, START_SYSEX, STRING_DATA, SYSEX_NON_REALTIME, SYSEX_REALTIME, SYSTEM_RESET| Constructor and Description |
|---|
SocketFirmataAdapter(FirmataEventListener eventListener,
String hostname,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
connect, enableDigitalReporting, getBoardCapabilities, getDigitalValue, getFirmware, getMax, getPinMode, getPinState, getProtocolVersion, getValue, i2cRead, i2cReadData, i2cWrite, i2cWriteData, initialiseBoard, run, setDigitalValue, setDigitalValues, setPinMode, setSamplingInterval, setValuepublic SocketFirmataAdapter(FirmataEventListener eventListener, String hostname, int port) throws IOException
IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class FirmataAdapterCopyright © 2016–2018 mattjlewis. All rights reserved.