proMIDI 2.0 library simply isn't working on Ubuntu 10.10.
This has been discussed on other forums. proMIDI examples don't detect any input/output devices.
I do have virtual keyboard open, LMMS and JACK, all working, but proMIDI sketch is saying no input/output detected.
What the...?
INterestingly, the first time I ran proMIDI today it worked!! It detected my LMMS and JACK and I have made graphics by playing virtual keyboard. Processing listed available ports as it should. When opening again, ir all stopped, no devices found!
Anybody else has this or similar problem on linux?
I keep getting this error when trying to communicate to arduino via serial:
Error inside Serial.ports()
java.lang.UnsatisfiedLinkError: /home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/libraries/serial/library/librxtxSerial.so: /home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/libraries/serial/library/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver
java.lang.UnsatisfiedLinkError: /home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/libraries/serial/library/librxtxSerial.so: /home/matjaz/Clairvision/Project_Signal/Processing/Processing_software/processing-1.2.1/libraries/serial/library/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
at processing.serial.Serial.list(Unknown Source)
at fish_matjaz_minimtest.setup(fish_matjaz_minimtest.java:82)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
processing.app.debug.RunnerException: RuntimeException: Error inside Serial.ports()
at processing.app.Sketch.placeException(Sketch.java:1543)
at processing.app.debug.Runner.findException(Runner.java:582)
at processing.app.debug.Runner.reportException(Runner.java:558)
at processing.app.debug.Runner.exception(Runner.java:498)
at processing.app.debug.EventThread.exceptionEvent(EventThread.java:367)
at processing.app.debug.EventThread.handleEvent(EventThread.java:255)
at processing.app.debug.EventThread.run(EventThread.java:89)
Exception in thread "Animation Thread" java.lang.RuntimeException: Error inside Serial.ports()
at processing.serial.Serial.errorMessage(Unknown Source)
at processing.serial.Serial.list(Unknown Source)
at fish_matjaz_minimtest.setup(fish_matjaz_minimtest.java:82)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Confiuration::
Ubuntu 10.10., 64 bit
Sun java 6
64 bit arduino 0021, Processing 1.2.1
When I run any sketch it works for about 10 seconds, then the console freezes. Even when my sketch involves pressing a key or moving the mouse; I simply can't do anything and have to close the sketch window. It works for another 10 seconds when I run it again, then freezes and so forth.
It seems like some kind of excessive buffering or frame rate problem...
It's independent of the sketch complexity.
I'm using Ubuntu 10.10 64 bit.
Java is IcedTea (yeah, I know).
Computer is new with a decent graphics card and I3 processor.
Hi,
I'm trying to make this sketch move by a digital input from ping))) ultrasonic sensor. No response from the sensor, like dead.
Signal plugged into pin=7
I used this simple sketch (from Processing) and firmata
* Mouse 2D. * * Moving the mouse changes the position and size of each box. */
import processing.serial.*; // reference the serial library import cc.arduino.*; // reference the arduino library Arduino arduino;
println(Serial.list()); // List all the available serial ports: arduino = new Arduino(this, Arduino.list()[0], 57600); arduino.pinMode(7, Arduino.INPUT); }
It used to be "mouseX", instead of "arduino.digitalRead(7)" (I want to use the ping sensor instead of mouseX).
Basically I want to make digital input work (analog-potentiometer etc. works fine).
What am I doing wrong?
Is firmata declared wrongly or digital commands aren't correct?