Chapter 25. Messages

There may come a time when you'd like your NXT robot to be able to communicate and share information with other NXT robots. Or, if you have a second NXT kit, you could build a remote control for your robot and give it commands using the second NXT brick.

To make all this happen requires a handful of blocks that will be covered in this chapter. Many people find these blocks difficult or confusing, but they're really very simple if you understand the basic concept behind sending and receiving messages.

Of course, sending and receiving messages requires that the NXT bricks be connected via a Bluetooth connection. Connecting two or more NXT bricks via Bluetooth is fairly straightforward and I'll cover the basics here, but if you ...

Get Lego Mindstorms NXT-G Programming Guide, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.