Jump to content
43oh

Unit

Members
  • Content Count

    4
  • Joined

  • Last visited

About Unit

  • Rank
    Noob Class

Recent Profile Visitors

607 profile views
  1. Yes, I did. I learned quite a while back that only one application can access the COM port at a particular instant in time. So I closed the PuTTY window, then tried accessing the COM port via GUI Composer v2. Regards
  2. In a further update, I tried writing some code to sent similar information to the host PC: if (g%2 == 0){ strcpy(OutputString,"\r\n{\"LED\":0\}\r\n"); #ifdef UART_COMM // Send the message to the host over UART putsUART((BYTE*)OutputString,strlen(OutputString)); #endif } else{ strcpy(OutputString,"\r\n{\"LED\":1\}\r\n"); #ifdef UART_COMM // Send the message to the host over UART putsUART((BYTE*)OutputString,strlen(OutputString)); #endif } g++; I verified with PuTTY that the COM port does indeed, re
  3. Thanks for the link. I now understand how JSON works, and how the GUI interprets the information. Should be straight forward to write JSON-compliant messages now, with or without using that library. Regards
  4. Hello Forums I am trying to use GUI Composer v2 (on the cloud) to create a GUI for a battery managment system, similar to the one in the SLAA478 Application Report, using the MSP-EXP430F5529LP and bq76PL536EVM-3. I've decided to use USB/Serial comms, which requires me to modify the code to send the information using JSON. I am following the example of using USB/Serial IO: https://dev.ti.com/gc/designer/help/Tutorials/Serial/index.html. The code given is as follows: #include <aJSON.h> // most launchpads have a red LED #define LED RED_LED //see pins_energia.h for more LED d
×
×
  • Create New...