Re: [Nxtcommand-developers] CLDC
Status: Beta
Brought to you by:
bbagnall
|
From: Peter J. <ptg...@ch...> - 2006-11-22 20:07:35
|
On Wed, 2006-11-22 at 11:50 -0600, Brian Bagnall wrote:
> Hi Stefano,
>
> Just wondering how you are coming along with the CLDC code? Also, Vic
> Wintriss wrote Sunday and was wondering what the timeline with the NetBeans
> is.
>From one of the previous mails I understand that Vic only wants to be
able to write and run icommand programs from within Netbeans. He does
not any new Netbeans mode to be written. My 1st tought is "easy money",
but I may be wrong. I can have a look into this, but I do not want to
get into a race with Stefano for the sensor "trofee".
I shall have a look. If I come up with a solution, I shall contact
Stefano first. I am not in for the price, give it to person who is
(voluntary) involved in teaching kids Robotics.
Please add the 2 lines NXTCommand.open() and NXTCommand.close()
in your code program. NXTCommand.close() is part of icommand for as
long as i know icommand, NXTCommand.open() was introduced in the last
release 0.5
package nxtbttest;
>
> import icommand.nxtcomm.*;
> import icommand.platform.nxt.*;
>
> public class Main
> {
> public static void main(String[] args)
> {
NXTCommand.open(); // at the start of the program execution.
> UltrasonicSensor us = new UltrasonicSensor(Sensor.S1);
NXTCommand.close(); // at the end of the program execution
> }
> }
>
|