Gabriel Ciorciari

PROBLEMS TO DISPLAY DYNAMIC VALUES ON LCD SCREEN

Discussion created by Gabriel Ciorciari on May 9, 2006
Latest reply on May 12, 2006 by Alban Rampon
Hi all!.
 
I have a routine done in C of CODEWARRIOR that works pretty well but the only thing that I can show are messages but I cannot show dynamic values just like the content of an value updating in the LCD screen or temperature value, etc.
 
I use this function to send messages as follows:
 
void printf_LCD_4bits(unsigned to char row, unsigned to char column, to char * text)
{
 unsigned char adrs;
  
  adrs = columna - 1;

  if(fila == 2)
   adrs = adrs | 0x40;

 Ctrl4bits(adrs | 0x80);

 while(*text)
  
 Datos4bits(*text++);
}
 
I got the feeling that this routine would need some fourth argument inside the function so that I can manipulate other kind of values.
 
THe problem is that I`m not very familiar with C programming just as I make my own routine.
 
Please have mercy of me!!!!!!.
 
Thank you!
 
 
Kilopondio
 
 
 
 

Outcomes