To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 199
198  |  200
Subject: 
Re: NXT-G: Structured Programming
Newsgroups: 
lugnet.robotics.nxt
Date: 
Mon, 23 Oct 2006 14:53:48 GMT
Viewed: 
17727 times
  
In lugnet.robotics.nxt, Edwin Pilobello wrote:

> A First Lego League team wants to use the NXT buttons thusly:
> left   - decrease program number
> right  - increase program number
> enter  - run mission program
> at end of each mission program, return to main program selection loop.
> ...
> Hurrah for myblocks!

Agreed. I've seen this approach being bounced around with some FLL teams, and
it's really a nice solution to the limited memory issues some are having. Not
only can they switch between programs rapidly, but this can potentially save a
*lot* of memory by reusing MyBlocks "across programs" as it were. Very nice
solution!

Hmm. I wonder how much memory you would save if Instead of using Move blocks,
you make a MyBlock with just a single Move block in it, and use that instead.

--
Brian Davis



Message has 1 Reply:
  Re: NXT-G: Structured Programming
 
(...) Today one of my students made a myblock out of a 545KB program. He simply copy and pasted it into a myblock. It reduced to 45KB! (20 years ago, 28-Oct-06, to lugnet.robotics.nxt)

Message is in Reply To:
  NXT-G: Structured Programming
 
A First Lego League team wants to use the NXT buttons thusly: left - decrease program number right - increase program number enter - run mission program at end of each mission program, return to main program selection loop. They do something like (...) (20 years ago, 21-Oct-06, to lugnet.robotics.nxt)

3 Messages in This Thread:

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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

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