ffleurey/JArduino — Issue #14: Blink test doesn't seem to be working
Author: ColF
Created: 2011-10-23 06:45:42+00:00
State: open

First of all, well done on a great library. Secondly, apologies if this is not the right place for this.

Ok, I download the library and have tried to run Blink.java from the examples as a test. When I run the code the RX LED flashes but the pin 13 LED doesn't blink. When I run a similar script through arduino's gui everything works as it should. Debugging shows I had to change this line from Serial4JArdiono.java:

if (osName.equals("Linux") && osProc.equals("x86")) {
to this:
if (osName.equals("Linux") && (osProc.equals("x86") || osProc.matches("i\\d86"))) {
as my os.arch returns i386. This should also cater for PCs returning i586, i686, etc
However even after this change it still didn't work. What can can I do from here to further debug?

My setup:
Mandriva 2010
Eclipse Galileo (I'm not using JArduino's gui)
rxtx: org.kevoree.extra.osgi.rxtx-2.2.0.jar

Thanks for any advice.
Col