30 degrees is a pretty small number. The clicking is probably because the 
motor barely moved. Try forward(360) or just forward().

- Brian

----- Original Message ----- 
From: "jonny Linux" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, December 11, 2006 3:27 PM
Subject: [Lejos-discussion] NXT ticks when using motors with icommand


> 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
> 


-------------------------------------------------------------------------
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