jklabs.monomic
Class Monome
java.lang.Object
jklabs.monomic.Monome
- Direct Known Subclasses:
- MonomeOSC, MonomeSerial
public class Monome
- extends java.lang.Object
Method Summary |
java.lang.String |
bitString(byte b)
|
void |
disableADC(int i)
|
void |
enableADC(int i)
|
byte[] |
getButtonValues()
|
byte |
getColValues(int i)
|
byte[] |
getLedValues()
|
java.lang.String |
getMatrixString()
|
byte |
getRowValues(int i)
|
void |
invert()
|
void |
invertCol(int i)
|
void |
invertRow(int i)
|
boolean |
isLit(int x,
int y)
|
boolean |
isPressed(int x,
int y)
|
void |
lightOff(int x,
int y)
|
void |
lightOn(int x,
int y)
|
void |
lightsOff()
|
void |
lightsOn()
|
void |
pressButton(int x,
int y)
|
void |
releaseButton(int x,
int y)
|
void |
setCol(int i,
boolean[] vals)
|
void |
setCol(int i,
byte bitVals)
|
void |
setCol(int i,
int[] vals)
|
void |
setDebug(boolean b)
|
void |
setDebug(int debug)
|
void |
setLedIntensity(float f)
|
void |
setLowPower(boolean b)
|
void |
setRow(int i,
boolean[] vals)
|
void |
setRow(int i,
byte bitVals)
|
void |
setRow(int i,
int[] vals)
|
void |
setValue(int x,
int y,
boolean value)
|
void |
setValue(int x,
int y,
int value)
|
void |
setValues(boolean[][] vals)
|
void |
setValues(byte[] vals)
|
void |
setValues(int[][] vals)
|
void |
testInput()
|
void |
testPattern(boolean b)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NONE
public static int NONE
FINE
public static int FINE
WARNING
public static int WARNING
setDebug
public void setDebug(boolean b)
setDebug
public void setDebug(int debug)
testInput
public void testInput()
isPressed
public boolean isPressed(int x,
int y)
isLit
public boolean isLit(int x,
int y)
getLedValues
public byte[] getLedValues()
getButtonValues
public byte[] getButtonValues()
getRowValues
public byte getRowValues(int i)
getColValues
public byte getColValues(int i)
pressButton
public void pressButton(int x,
int y)
releaseButton
public void releaseButton(int x,
int y)
testPattern
public void testPattern(boolean b)
lightsOn
public void lightsOn()
lightsOff
public void lightsOff()
lightOn
public void lightOn(int x,
int y)
lightOff
public void lightOff(int x,
int y)
setValue
public void setValue(int x,
int y,
boolean value)
setValue
public void setValue(int x,
int y,
int value)
invertRow
public void invertRow(int i)
setRow
public void setRow(int i,
int[] vals)
setRow
public void setRow(int i,
boolean[] vals)
setRow
public void setRow(int i,
byte bitVals)
invertCol
public void invertCol(int i)
setCol
public void setCol(int i,
int[] vals)
setCol
public void setCol(int i,
boolean[] vals)
setCol
public void setCol(int i,
byte bitVals)
setLowPower
public void setLowPower(boolean b)
setLedIntensity
public void setLedIntensity(float f)
invert
public void invert()
setValues
public void setValues(int[][] vals)
setValues
public void setValues(boolean[][] vals)
setValues
public void setValues(byte[] vals)
enableADC
public void enableADC(int i)
disableADC
public void disableADC(int i)
bitString
public java.lang.String bitString(byte b)
getMatrixString
public java.lang.String getMatrixString()
processing library monomic by Jesse Kriss. (c) 2008