Hola a todos, Alguien podra ayudarme con el siguiente error, el compilador que uso es mikroC pro en un 16f877a. Cuando intento compilar el siguiente cod (lineas abajo), obtengo "unresolved extern sprintf" como error. Gracias de antemano.
// Conexiones del Modulo LCD
sbit LCD_RS at RB7_bit;
sbit LCD_EN at RB6_bit;
sbit LCD_D4 at RB5_bit;
sbit LCD_D5 at RB4_bit;
sbit LCD_D6 at RB3_bit;
sbit LCD_D7 at RB2_bit;
sbit LCD_RS_Direction at TRISB7_bit;
sbit LCD_EN_Direction at TRISB6_bit;
sbit LCD_D4_Direction at TRISB5_bit;
sbit LCD_D5_Direction at TRISB4_bit;
sbit LCD_D6_Direction at TRISB3_bit;
sbit LCD_D7_Direction at TRISB2_bit;
void sprintf(char *buffer, const code char *f,...) ;
float variable ;
char buffer [5] ;
void main(){
LCD_INIT();
LCD_CMD(_LCD_CLEAR);
variable = 123.542 ;
while (1){
sprintf(buffer, "%.1f",123.542);
Lcd_Out(1, 1, buffer);
delay_ms(10) ;
}
}