In order to avoid the time delay of the Bluetooth chipping switching modes from receiving When writing commands to the LEGO NXT, it is advised that you do not request a response LEGO Mindstorms NXT Communication Protocol. The program sends direct commands in the form of byte arrays to be interpreted through the Objective: This program opens up a COM port for Bluetooth communication with a LEGO NXT Brick. This tutorial will demonstrate the use of the C-plus-plus Serial Port class in Windows that can be used to write programs that send data to COM ports, thus allowing the user to send direct commands to the NXT Brick with a C-plus-plus program. There are programs that allow you to send data to certain COM ports, but most of these are only good for testing and not writing programs that utilize the COM ports. There are several methods you can you go about sending direct commands. Note: See documentation for more commands and details about the LEGO NXT Communication Protocol NXT Direct Commands These commands are structured as byte arrays with hexadecimal encoding. It allows for direct commands to the NXT Brick. This communication protocol lies above the Bluetooth communication protocol. LEGO includes the LEGO Mindstorms NXT Communication Protocol programmed into all NXT Bricks through the firmware.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |