Subject:
|
Displaying multiple variables
|
Newsgroups:
|
lugnet.robotics.nxt
|
Date:
|
Sat, 17 Nov 2007 20:07:06 GMT
|
Viewed:
|
28226 times
|
| |
| |
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: | | 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
|
|
|
|