I wrote a simple testing code in main fxn.(ccs3.3 DM648EVM)
int main()
{
int status;
static TSK_Handle LOCAL_hTskMain = NULL;
printf("111\n");
status |= APP_I2C_moduleCreate();
printf("222\n");
status |= APP_I2C_writeLeds(0x4,0x4);
printf("333\n");
}
but I got a loop of "111","222",there is no "333" to be printed. why did this happen?
I checked the writeLeds(), it only contains a GIO_write() may cause trouble.
please help a wandering sheep.