

The only issue here is that this mailbox will hold only one email, so old messages are overwritten when new ones come in. You won’t miss it, it will be in the mail box. So, there’s no need to check every milisecond of the day. But like email, messages are stored for your review until you open them. You’ll never know you’ve got a new email unless you check. Think of it as emails you get from a friend. The key is that you have to keep looking for messages on the receiver part.
ROBOTC NXT CODE
I’ve added some comments to the code to help you understand what each portion of the code does. When you do this, the number 23 shows up on the receiving NXT. Transfer SenderSimple.c to your other NXT.Use USB for this! (Bluetooth will be in use between your NXT’s.)
ROBOTC NXT BLUETOOTH
I assume that your NXT’s are connected via Bluetooth (see “set up” section). The next examples (SenderSimple.c and ReceiverSimple.c) demonstrate the functionality to send one value from one NXT to another. In some occasions you want to send some basic numbers from one NXT to the other.
