hello
this is the 2nd code i have written on code composer studio.
my board is TMS570LS0432
#include "sys_common.h"
#include "sci.h"
#include"reg_sci.h"
/* USER CODE BEGIN (1) */
uint8 text[3]={1,2,3};
/* USER CODE END */
/** @fn void main(void)
* @brief Application main function
* @note This function is empty by default.
*
* This function is called after startup.
* The user can use this function to implement the application.
*/
/* USER CODE BEGIN (2) */
/* USER CODE END */
void main(void)
{
/* USER CODE BEGIN (3) */
sciInit();
sciBASE_t *reg1;
uint8 length=3,i=0;
while(length--)
{
while(reg1->FLR ==4)
sciSendByte(reg1, text[i++]);
}
/* USER CODE END */
}
even though there are no compilation errors nor are there any warnings i am not getting any output on the terminal window.
could someone please tell me where am i going wrong and how o i get the output...