projects
/
slipway.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added visualizer
[slipway.git]
/
src
/
edu
/
berkeley
/
obits
/
AtmelSerial.java
diff --git
a/src/edu/berkeley/obits/AtmelSerial.java
b/src/edu/berkeley/obits/AtmelSerial.java
index
a67d936
..
444c944
100644
(file)
--- a/
src/edu/berkeley/obits/AtmelSerial.java
+++ b/
src/edu/berkeley/obits/AtmelSerial.java
@@
-29,7
+29,8
@@
public class AtmelSerial {
}
public static int PIPELEN=20;
public static void main(String[] s) throws Exception {
}
public static int PIPELEN=20;
public static void main(String[] s) throws Exception {
- AvrDrone device = new AvrDrone(detectObitsPort());
+ //AvrDrone device = new AvrDrone(detectObitsPort());
+ AvrDrone device = new AvrDrone();
At40k at40k = new At40k.At40k10(device);
int count = 0;
try {
At40k at40k = new At40k.At40k10(device);
int count = 0;
try {
@@
-424,6
+425,12
@@
public class AtmelSerial {
//scan(at40k, cell, YLUT, false);
//device.scanFPGA(true);
//scan(at40k, cell, YLUT, false);
//device.scanFPGA(true);
+
+ Visual vis = new Visual(at40k);
+ vis.show();
+ vis.setSize(600, 600);
+ synchronized(AtmelSerial.class) { AtmelSerial.class.wait(); }
+
Visualizer v = new Visualizer(at40k, device);
v.show();
v.setSize(1380, 1080);
Visualizer v = new Visualizer(at40k, device);
v.show();
v.setSize(1380, 1080);