milan.rajik
Banned
Why this gives "Illegal Pointer Conversion" error?
I am using mikroC PRO PIC 6 and I am getting error for my function.
The UART1_Init() and UART2_Init() library function(s) prototypes as mentioned in mikroC PRO PIC help is
I am using mikroC PRO PIC 6 and I am getting error for my function.
The UART1_Init() and UART2_Init() library function(s) prototypes as mentioned in mikroC PRO PIC help is
Code C - [expand] 1 void UARTx_Init(const unsigned long baud_rate);
Code C - [expand] 1 2 3 4 5 6 void UARTx_Init(void(*fPtr)(const unsigned long), const unsigned long baud_rate) { (*fPtr)(baud_rate); Delay_ms(200); } UARTx_Init(&UART1_Init, 4800);