Subject:
|
Displaying multiple variables
|
Newsgroups:
|
lugnet.robotics.nxt
|
Date:
|
Sat, 17 Nov 2007 20:07:06 GMT
|
Viewed:
|
27752 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
Yesterday, I had a student who wished to display two numeric variables on the
screen. We ended up multiplying the first by 1000 then adding the second. This
we displayed and read as a packed variable with two shifted values.
How can we do this more elegantly? Perhaps even adding a description and show
on two lines? Of course this probably means doing a concatenation and maybe
inserting special characters (line feed, carraige return).
|
|
Message has 1 Reply: ![](/news/x.gif) | | 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: ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: Displaying multiple variables -Brian Davis (17-Nov-07 to lugnet.robotics.nxt)](/news/x.gif) ![](/news/246.gif) ![Re: Displaying multiple variables -Edwin Pilobello (17-Nov-07 to lugnet.robotics.nxt)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Displaying multiple variables -John Brost (19-Nov-07 to lugnet.robotics.nxt)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|