Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino on Linux on: September 10, 2006, 05:21:04 pm
yo on the second service i got the arduino compiled. with run.sh i get the file open dialog however steering f.e. to  work/dist/examples/digital\ IO/ no files are displayed/can be chosen & selecting this (or others) directory it segfaults.
what kind of file the selector is looking for to keep him goin?


Experimental:  JNI_OnLoad called.
Experimental:  JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7
Experimental:  JNI_OnLoad called.
./arduino: line 51: 27916 Segmentation fault      java processing.app.Base
2  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino on Linux on: August 04, 2006, 04:46:08 pm
hi i was following the installation instruction on the post above without any trouble but as soon as i do ./run.sh i get this error:
olsen@ll-928:~/lab/arduino/trunk/build/linux$ ./run.sh
Exception in thread "main" java.lang.NoClassDefFoundError: processing.app.Base
   at gnu.java.lang.MainThread.run(libgcj.so.7)
Caused by: java.lang.ClassNotFoundException: processing.app.Base not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:lib/,file:lib/build/,file:lib/pde.jar,file:lib/antlr.jar,file:lib/oro.jar,file:lib/registry.jar,file:lib/mrj.jar,file:lib/RXTXcomm.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.7)
   at java.lang.ClassLoader.loadClass(libgcj.so.7)
   at java.lang.ClassLoader.loadClass(libgcj.so.7)
   at java.lang.Class.forName(libgcj.so.7)
   at gnu.java.lang.MainThread.run(libgcj.so.7)
...
any clue around?
thanks&greets
olsen

3  Forum 2005-2010 (read only) / Syntax & Programs / Re: array handling on: April 28, 2008, 08:43:48 am
thanks kg4wsv for your reply
i finally used the following function:

void circularDistBuffer() {
  for(i = NumberQuantity-1; i > 0; i--){
        distBuffer = distBuffer[i-1];
  }
  distBuffer[0] = analogValue;
}
4  Forum 2005-2010 (read only) / Syntax & Programs / array handling on: April 21, 2008, 12:18:06 pm
Hi
i've array of numbers i wanna push thru when a new value is coming in:
void addSensData() {
  myArray[4] = myArray[3];
  myArray[3] = myArray[2];
  myArray[2] = myArray[1];
  myArray[1] = myArray[0];
  myArray[0] = analogValue;
}
kindof complicated?! isn't there a syntax in arduino similar to push and pop a stack?


5  Forum 2005-2010 (read only) / Troubleshooting / Re: avrdude error on: October 20, 2010, 01:37:22 pm
i got this notorious avrdude: stk500_getsync(): not in sync: resp=0xe0 errör trying uploads on a arduino pro mini 328 - i don't have the reset buttoni connected so i found out it's a bit byte of timing - you've to find the rhythm between upload and pressing the reset button & as i've kind of longer piece of code Da_Heros solution worked for me:
# click on UPLOAD in arduino ide.
# while the sketch compiles power up the board with still pressed the  reset button.
# -->RIGHT in the moment where Arduino IDE says "sketch size xxxx..." release the reset button so the board boots up....  
Pages: [1]