|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.spot.sensorboard.io.OutputPin
public class OutputPin
Accessor object for output only GPIO pins.
| Constructor Summary | |
|---|---|
OutputPin(PinDescriptor idx,
IGPIOController cntrl)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this output pin. |
PinDescriptor |
getIndex()
Return the PinDescriptor for this pin. |
boolean |
getState()
Return the current state of this pin. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setHigh()
Set the value of this pin to high. |
void |
setHigh(boolean high)
Set the value of this pin. |
void |
setLow()
Set the value of this pin to low. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutputPin(PinDescriptor idx,
IGPIOController cntrl)
| Method Detail |
|---|
public PinDescriptor getIndex()
getIndex in interface IOutputPinpublic void setHigh()
setHigh in interface IOutputPinpublic void setLow()
setLow in interface IOutputPinpublic void setHigh(boolean high)
setHigh in interface IOutputPinhigh - if true then pin is set to highpublic boolean getState()
getState in interface IOutputPinpublic boolean equals(Object obj)
equals in class Objectobj - the reference object with which to compare.
Boolean.hashCode(),
Hashtablepublic int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object),
Hashtable
|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||