Processing Forum
Display 0 does not exist, using the default display instead.GLGraphics version: 0.95GL_ARB_geometry_shader4 extension not availablelog4j:WARN No appenders could be found for logger (de.fhpotsdam.unfolding.mapdisplay.MapDisplayFactory).log4j:WARN Please initialize the log4j system properly.OpenGL error 1281 at top endDraw(): invalid valueOpenGL error 1286 at top endDraw(): invalid framebuffer operationOpenGL error 1286 at top beginDraw(): invalid framebuffer operationOpenGL error 1286 at render_triangles in: invalid framebuffer operationOpenGL error 1286 at before enable: invalid framebuffer operationOpenGL error 1286 at render_triangles out: invalid framebuffer operationOpenGL error 1286 at non-binding 6: invalid framebuffer operation
import processing.serial.*; import cc.arduino.*; Arduino arduino; int ledPin = 13; void setup() { //println(Arduino.list()); arduino = new Arduino(this, Arduino.list()[0], 57600); arduino.pinMode(ledPin, Arduino.OUTPUT); } void draw() { arduino.digitalWrite(ledPin, Arduino.HIGH); delay(1000); arduino.digitalWrite(ledPin, Arduino.LOW); delay(1000); }
RXTX Warning: Removing stale lock file. /var/lock/LCK..ttyACM0
I'm working on Ubuntu 12.04.