To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.spyboticsOpen lugnet.robotics.spybotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Spybotics / 384
383  |  385
Subject: 
Re: Arrays and proximity
Newsgroups: 
lugnet.robotics.spybotics
Date: 
Thu, 27 Jan 2005 13:21:03 GMT
Viewed: 
6965 times
  
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:
  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:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR