Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 22014

MSP430F5529: How to send commands using in GUI Composer(TI cloud ) to device target(MSP430F5529)?

$
0
0

Part Number:MSP430F5529

I am using the serial USB-UART port to make a communication with a microcontroller but so far I just called the microcontroller to send data and GUI is used to receive it. I would like to use GUI composer to sent commands to the microcontrollers, for example, I would like to use the toggle button to control. How should I do? Could anyone give me some guides or tutorials to deal with this problems?

 

The below information I got from:processors.wiki.ti.com/.../GUI_composer_custom_streaming.pdf

"Add controls that will send commands to the target program. Use the code provided in the function sendCmd(). Keep in mind the sendBuffer is a String made of coma separated bytes. The function sendCmd( cmd) can be used to send command to the target, that do not expect confirmation. The parameter cmd is a string of coma separated bytes in either decimal or hexadecimal (For example: “255, 12, 0xa1, 0xff”). The callback onSendCompleted can be used to handle any errors that occurred during command send step."

How to use a function sendCmd() in GUI javascript? 


Viewing all articles
Browse latest Browse all 22014

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>