roombacomm
Class Spiro1
java.lang.Object
roombacomm.Spiro1
public class Spiro1
- extends java.lang.Object
A Spirograph-like example
Run it with something like:
java roombacomm.Spiro1 /dev/cu.KeySerial1 velocity radius waittime
Usage: \n"+
roombacomm.Spiro1 [protocol] [options]
where:
protocol (optional) is SCI or OI
velocity and radius in mm, waittime in milliseconds
[options] can be one or more of:
-debug -- turn on debug output
-hwhandshake -- use hardware-handshaking, for Windows Bluetooth
-nohwhandshake -- don't use hardware-handshaking
|
Method Summary |
static boolean |
keyIsPressed()
check for keypress, return true if so |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Spiro1
public Spiro1()
main
public static void main(java.lang.String[] args)
keyIsPressed
public static boolean keyIsPressed()
- check for keypress, return true if so