|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.krisharris.mpk.Board
public class Board
| Constructor Summary | |
|---|---|
Board(java.lang.String _location,
java.lang.String _type,
java.lang.String _name,
int _serialnumber)
Typically called intenrally |
|
| Method Summary | |
|---|---|
AnalogIn |
analogIn(int which)
retuns a AnalogIn reperesenting one of the 8 analog ins on the Making Things board |
java.lang.String |
getLocation()
|
java.lang.String |
getName()
|
int |
getSerialnumber()
|
java.lang.String |
getType()
|
void |
pollAnalogIn(boolean p)
Turn on or off the automatic polling of the analog inputs |
void |
sendMessage(java.lang.String message,
java.util.Vector args)
Sends a message by adding it to the queue. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Board(java.lang.String _location,
java.lang.String _type,
java.lang.String _name,
int _serialnumber)
_location - _type - _name - _serialnumber - | Method Detail |
|---|
public java.lang.String getType()
public java.lang.String getLocation()
public java.lang.String getName()
public int getSerialnumber()
public void sendMessage(java.lang.String message,
java.util.Vector args)
message - the OSC message to sendargs - (can be null) the paramaters of the messagepublic void pollAnalogIn(boolean p)
p - set this to true to automatically poll analog inputspublic AnalogIn analogIn(int which)
AnalogIn reperesenting one of the 8 analog ins on the Making Things board
which - the analog in (0..7)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||