AnsweredAssumed Answered

What does * mean in C programming?

Question asked by Guest on Feb 26, 2009
Latest reply on Feb 26, 2009 by Benjamin Haeberli

Hi. Below is a code to write characters to a LCD display. I would like to know what does the * mean. Thx

 

void lcd_string(byte line,byte *_data_buffer)
  {
     byte i;
     __RESET_WATCHDOG();
     if(line==1)
      {
        lcd_write_cmd(0x40); //DDRAM
        Check_LCD_Busy();//
        lcd_write_cmd(0x80); //CGRAM
        Check_LCD_Busy();
      }
      else
      {
        //lcd_write_cmd(0); //DDRAM
        lcd_write_cmd(60); //DDRAM
        Check_LCD_Busy();//
 
        lcd_write_cmd(0xc0); //CGRAM
        Check_LCD_Busy();//while((lcd_read_cmd()&0x80)==0x80);
      }
      
    for(i=0;i<LCD_16X2;i++)
    {
      if(_data_buffer[i]!=0)
      {
        lcd_write_data(_data_buffer[i]);
        Check_LCD_Busy();
      } else break;  
    }
  }

Message Edited by Cryptical on 2009-02-26 06:44 AM

Outcomes