8. Advanced Programming
In this chapter, we learn a bit more about Mindstorms programming and how it works. First and foremost, we explore data wires, NXT-G’s on-screen representation of the flow of data (see Figure 8.1). When one programming block needs to send information to another block, it uses data wires.
Wires are the key to turning an otherwise blah program into a sophisticated and responsive one that can pull in data from its sensors and use that data to adjust the behaviors of various blocks. Learning about wires is one of the keys to advanced programming!
Tip: There’s ...