Hi,

I've just started using iCommand 0.5, I can run the Melody sample, but I've
not been able to get the motors working yet.

If I run the following code:

  import icommand.platform.nxt.*;
   import icommand.nxtcomm.*;

   public class Wheel {
     public static void main(String[] args) {
       Motor.A.forward(30);
       NXTCommand.close();
     }
   }

the program just hangs, and I can hear the NXT ticking about once a second.
The interface on the NXT also freezes, so I have to take a battery out to
reset it. I'm running Firmware 1.03.

Does anyone have any ideas?

Thanks,

Jonny
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to