blob: 54ea19db8517fa770cfd0614a59b707f7dff2334 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package com.hackingroomba.roombacomm;
import gnu.io.SerialPortEvent;
import gnu.io.SerialPortEventListener;
public class BetterRoomba implements SerialPortEventListener {
private static int RATE = 115200;
public static void main(String[] args) {
System.out.println("Starting...");
System.out.println("-END-");
}
@Override
public void serialEvent(SerialPortEvent e) {
// do smthng with e
}
public void startup() {
}
}
|