lcd_putnstr(13,phone_num_buf); // to check the no. where the msg is being sent. void lcd_putnstr(unsigned char len, char *str) { unsigned char i = 0; while(*str != NULL && i < len) { lcd_write(*str); str++; i++; } } void putnstr(unsigned char len, char *str) { unsigned char i = 0; while(*str != NULL && i < len) { putch(*str); str++; i++; } } putnstr(SIZE_OF_PH_NUM, (char* )phone_num); #define SIZE_OF_PH_NUM 13
Error [1098] conflicting declarations for variable and it points to putnstr function..
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)