• NXT-to-NXT Send Motor Commands

    by  • October 17, 2013 • How Do I...? • 0 Comments

    Description
    Here is a simple pair of programs that sends motor commands between two NXTs.  One NXT is the host (send), and the other is the client (receive).
    Screenshot
    Send Motor Command
    Screenshot
    Receive Motor Command
    Code
    AttachmentTypeSize
    Send Motor Command.zipSend Motor Command.vi and Receive Motor Command.viapplication/zip16.09 KB
    Description
    Building on this first code, sometimes you want to send two commands at the same time.  This pair of code (one for host which is sending, the other for client which is receiving) sends two values simultaneously, leveraging two different mailboxes.
    Screenshot
    Send Two Commands
    Screenshot
    Receive Two Commands
    Code
    AttachmentTypeSize
    Send Two Motor Commands.zipSend Two Commands.vi and Receive Two Commands.viapplication/zip21.25 KB

    Leave a Comment