| Constructor and Description |
|---|
PinIOGroup(DigitalIO enablePin,
DigitalIO... dataPins) |
PinIOGroup(DigitalIO enablePin,
int delayMs,
DigitalIO... dataPins) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
endEnable() |
String |
getAlias() |
DigitalIO[] |
getDataPins() |
InputStream |
getInputStream() |
String |
getName() |
OutputStream |
getOutputStream() |
boolean |
isOpen() |
void |
open() |
byte |
readByte() |
int |
readBytes(byte[] buffer) |
String |
readString() |
void |
setAlias(String alias) |
void |
startEnable() |
String |
toString() |
void |
writeByte(int b) |
void |
writeBytes(byte[] bytes) |
void |
writeString(String string) |
public void open()
throws IOException
open in interface IOPortIOExceptionpublic void close()
throws IOException
close in interface IOPortIOExceptionpublic void writeByte(int b)
throws IOException
writeByte in interface IOPortIOExceptionpublic void writeBytes(byte[] bytes)
throws IOException
writeBytes in interface IOPortIOExceptionpublic void writeString(String string) throws IOException
writeString in interface IOPortIOExceptionpublic byte readByte()
throws IOException
readByte in interface IOPortIOExceptionpublic int readBytes(byte[] buffer)
throws IOException
readBytes in interface IOPortIOExceptionpublic String readString() throws IOException
readString in interface IOPortIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in interface IOPortIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in interface IOPortIOExceptionpublic DigitalIO[] getDataPins()
public void startEnable()
public void endEnable()
Copyright © 2015 silverspoon.io. All rights reserved.