bicycleguy
Well-known member
@Paul
Trying rev 4. Using DejaVu.ino and repeatedly compiling, loading, changing ect. as before and haven't got any out of memory errors I do get:
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:234)
when I close the terminal window while it's running.
I did get this once, but I was playing with the terminal window scroll bar. I had scrolled the thumb to the window bottom and when I closed the window:
java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
at java.io.BufferedInputStream.read(BufferedInputStream.java:336)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:229)
inputPipeListener thread exit
But the App kept running. I was never able to crash it with Dejavu.ino.
I froze the Arduino App once with millis() print program after a lot of messing around, but it didn't give an error indication (no memory error at least )
Trying rev 4. Using DejaVu.ino and repeatedly compiling, loading, changing ect. as before and haven't got any out of memory errors I do get:
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:234)
when I close the terminal window while it's running.
I did get this once, but I was playing with the terminal window scroll bar. I had scrolled the thumb to the window bottom and when I closed the window:
java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
at java.io.BufferedInputStream.read(BufferedInputStream.java:336)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at processing.app.inputPipeListener.run(TeensyPipeMonitor.java:229)
inputPipeListener thread exit
But the App kept running. I was never able to crash it with Dejavu.ino.
I froze the Arduino App once with millis() print program after a lot of messing around, but it didn't give an error indication (no memory error at least )
Code:
int thisdelay=100;
void setup() {
Serial.begin(9600);
while(!Serial)
;
Serial.print("Starting up with ");
Serial.print(thisdelay);
Serial.println(" delay");
}
void loop() {
Serial.println(millis());
delayMicroseconds(thisdelay);
}