Subject:
|
Re: Arrays and proximity
|
Newsgroups:
|
lugnet.robotics.spybotics
|
Date:
|
Thu, 27 Jan 2005 13:21:03 GMT
|
Viewed:
|
7018 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
In lugnet.robotics.spybotics, Steve Hassenplug wrote:
> > I just got my Spybotics set cheaply,
> >
> > It is in fact not a computer,
> > just a state machine.
>
> You CAN program it, or use the state machine structure provided by LEGO
If I MUST program a state machine, I could program it to be a small array.
Something like this:
if(i==0) r=array0;
if(i==1) r=array1;
if(i==2) r=array2;
etc...
Self modifying code would be more elegant, but can that be done?
If it can be done, how much data can I use in the space for programs?
I better read some documentation tonight.
|
|
Message is in Reply To:
![](/news/x.gif) | | Re: Arrays and proximity
|
| (...) You CAN program it, or use the state machine structure provided by LEGO (...) You also can use NQC, but I don't know the extent of what's available on the Spybot. There are differences between the RCX and the Spybot. (...) Yes, perfect. But it (...) (19 years ago, 27-Jan-05, to lugnet.robotics.spybotics)
|
4 Messages in This Thread: ![Arrays and proximity -Kim Øyhus (27-Jan-05 to lugnet.robotics.spybotics)](/news/x.gif) ![](/news/246.gif) ![Re: Arrays and proximity -Steve Hassenplug (27-Jan-05 to lugnet.robotics.spybotics)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: Arrays and proximity -John Hansen (27-Jan-05 to lugnet.robotics.spybotics)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|