This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
What is the code to read the serial code into the Hercules Launchpad controller? The serial input is sent by UART.
In Arduino, the code is serial.read so may I know what the code is for CCS?
And also what is the code equviliant to serial.available() in CCS? It is to check if there is data recieved
Hello,
We have a code generation tool: HALCoGen. It can generate drivers for most of the peripherals of the device, and device startup code. It also includes some examples.
https://www.ti.com/tool/HALCOGEN
The SCI drive contains 4 APIs for transmitting data and receiving data:
sciSendByte();
sciSend();
sciReceiveByte();
sciReceive();