/* Shift the entire display n unit to the left.  */
void HD44780DisplayLeftShift(unsigned char n)
/* Shift the entire display n unit to the left.  */
void HD44780DisplayLeftShift(unsigned char n)
{
    int i = n;
    while(i--)
    {
        while(HD44780Busy());
        HD44780WriteCmd(HD44780_CMD_CURSOR_DISPLAY_SHIFT(
                                        HD44780_CURSOR_DISPLAY_SHIFT_SC_S |
                                        HD44780_CURSOR_DISPLAY_SHIFT_RL_L));
    }    
}