Subject:
|
Re: Displaying multiple variables
|
Newsgroups:
|
lugnet.robotics.nxt
|
Date:
|
Mon, 19 Nov 2007 16:26:14 GMT
|
Viewed:
|
29166 times
|
| |
| |
In lugnet.robotics.nxt, Brian Davis wrote:
> As to doing it more elegantly, I ended up making a My Block that will accept a
> number, a line, and a label (text string - you need v1.1 to do this part), and
> draw it on the screen, even clearing the spaces after the value you print and
> giving you the option of either clearing the screen or not clearing the screen.
> And the whole thing is about five blocks long. If you want to use it as an
> example, I recently put it up on NXTlog along with a simple math program that
> uses a number of these "helpful My Blocks":
There's also Steve Hassenplug's Display Number block (find it here
http://www.teamhassenplug.org/NXT/ along with some other NXT-G goodies). I use
this all the time to display values for debugging.
John
|
|
Message is in Reply To:
| | Re: Displaying multiple variables
|
| (...) There are lots of ways to display such information on the NXT LCD. The easiest is probably to draw one number, and then use a second Display block to draw a second number - just uncheck the "clear screen" checkbox on the second Display block. (...) (17 years ago, 17-Nov-07, to lugnet.robotics.nxt)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|