I'm quite new her so sorry if i make something wrong^^I wantedt to make a ps/2 mouse out of my Arduino with this Library: ww_w.arduino.cc/playground/ComponentLib/Ps2mouse(the link is changed because it's my first comment.)

Now startet Arduino 0018 and started the example from the Library.But when I try to compile it it says:

Stable Library=========================================Native lib Version = RXTX-2.1-7Java lib Version = RXTX-2.1-7Exception in thread "main"java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at processing.app.Preferences.getInteger(Preferences.java:750) at processing.app.Editor.restorePreferences(Editor.java:420) at processing.app.Base.<init>(Base.java:155) at processing.app.Base.main(Base.java:104)

now I tried to start the .exe file directly but nothing happens only the process in the Task manager doesent dissapear and it uses more and more space but without effect for hours :-/.

Does someone know how to make a ps/2 mouse out of the Arduino with the 0017-0021?? Or can someone say me how to start it.

I put the Library right ther and I put it in the Arduino\libraries folder.But when I run it with 0018 or 0021 it returns the same error massage described below .I can add the library over:sketch-->import Library-->ps2devso I think the Library is in the right place.

Doesen't anyone know how I can start the 0012?If it helps I'm using xp.

/* * ps2.h - a library to interface with ps2 devices. See comments in * ps2.cpp. * Written by Chris J. Kiick, January 2008. * Release into public domain. */

#ifndef ps2_h#define ps2_h

#include "WProgram.h"

class PS2{...

This compiles normally.

If you include, say, "WConstants.h" before "WProgram.h" you get error messages like the ones you are seeing.

In file included from H:\ftp\arduino\arduino-0021\hardware\arduino\cores\arduino/WProgram.h:6, from F:\home\dave\Arduino\libraries\ps2\/ps2.h:11, from F:\home\dave\Arduino\libraries\ps2\ps2.cpp:12:h:/ftp/arduino/arduino-0021/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected unqualified-id before 'double'h:/ftp/arduino/arduino-0021/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'h:/ftp/arduino/arduino-0021/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'

Maybe that is what older arduino distributions needed or tolerated, but not these days. All you need is WProgram.h. It takes care of the other stuff.

So:1. Use arduino-0021

2. Make sure you have the latest ps2.zip. Unzipped files have date 01/29/2008.

but when I connect the data and the clock wires from a ps/2 cable to the pc and to the arduino on digital pin 3 and 2 the Arduino doesn't starts anymore . And when I reset it my pc says that the connected hardware isn't ok and I don't see the com port of it. When I disconnect the ps/2 wires and reset it it works fine again :-?