Re: [Lejos-discussion] Out with the old problems, in with the new! :-) (Tower error: write failure)

2006-04-27 Thread Matthias Paul Scholz
Tripurari, I've tried running the outstream example with leJOS 3.0 on Linux, and it worked for me. These were the steps I performed: 1. switch to examples/comms/outstream 2. lejosjc Write.java 3. lejoslink -o Write.bin Write 4. lejosdl Write.bin 5. export

[Lejos-discussion] Math/Floating Point Problems

2006-04-27 Thread cspitzer
Why does the LCD display for the following lines??? LCD.showNumber((int)Math.cos((doubl)0)); LCD.showNumber((int)(8000 * 1/4000)); --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly

Re: [Lejos-discussion] Out with the old problems, in with the new! :-) (Tower error: write failure)

2006-04-27 Thread Matthias Paul Scholz
Tripurari, seems you have detected a bug indeed...sigh! Both RCXPort constructors turn out to boil down to opening the tower in the handlers without the tty variable set internally (as a matter of fact, in the according source code I detected // TODO rework this comments...GREAT! So much for