Could anyone explain to me what this function is doing? I understand it is used to display text on an LCD but I do not exactly understand how it works.
I want to send a volatile integer to the LCD and would like to understand how this function works before attempting to do so. I would appreciate any efforts to explain this to me.
void LCD_Send_String(uint8_t ch[]) // Send a string to the display.
{
volatile int i=0;
while(ch[i] != 0)
{
LCD_Send_Data(ch[i]);
i++;
_delay_us(80);
}
}