Other Parts Discussed in Thread: HALCOGEN
Hi TI Community,
I am doing a program to turn on a led in TMS570LS0432 launch pad, I found one YouTube video https://www.youtube.com/watch?v=tsVmpH6Pm2U here i did same thing as per video, but CCS is throwing errors that
"../source/sys_main.c", line 90: error #148: declaration is incompatible with "void gioNotification(gioPORT_t *, uint32)"
i have included gio.h also pls find code below:
/* USER CODE BEGIN (0) */ #include "het.h" /* USER CODE END */ /* Include Files */ #include "sys_common.h" #include "gio.h" /* USER CODE BEGIN (1) */ /* USER CODE END */ int main(void) { /* USER CODE BEGIN (3) */ // set port pins to output //gioPORTA.DIR |= (1U << 2); gioSetDirection(hetPORT1, 0xFFFFFFFF); while (1) { // Turn on the LED //gioPORTA.DSET = (1U << 2); gioSetBit(hetPORT1, 5, 1); // GIOA2 //on 5th pin led present } /* USER CODE END */ // return 0; } /* USER CODE BEGIN (4) */ void gioNotification(int bit) { return; } void esmGroup1Notification(int bit) { return; } void esmGroup2Notification(int bit) { return; }
please help me to figured out this I am new to Taxes instruments controllers.
Best Regards,
Tyagi