August 2010
Intermediate to advanced
288 pages
13h 21m
English
The NXT has three buttons and a small display screen that you can use to interact with your programs, similar to the way you use a keyboard and monitor with most computers. In this chapter, you’ll learn how your programs can use the buttons on the NXT. You’ll also learn about some new features of the Display block that will give you more control over the NXT’s screen.
The chapter begins with two small programs that show you how to use the buttons to adjust the value of a variable. The first program displays the value using text, as you’ve done in previous programs. The second program shows you how to display the same information using images. The chapter then shows a final program, which uses a ...