Chapter 12. the NXT buttons and the display block
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 ...
Get The Art of LEGO MINDSTORMS NXT-G Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.