src/lcd_5110.c
void LCD_Write_Char(uint8_t ch) {
    uint8_t line;

    if (ch == 208 || ch == 209) {
        return;
    }

    if (ch == '\n') {
        LCD_Set_Position(0, cursor.LCD_cursor_y + 1);
        return;
    }

    if (ch == '\t') {
        ch = ' ';
    }

    for (line = 0; line < 6; line++) {
        LCD_Write_Data(LCD_getChar(ch, line));

        if (cursor.LCD_cursor_x < 83) {
            cursor.LCD_cursor_x += 1;
        } else {
            if (cursor.LCD_cursor_y < 5) {
                LCD_Set_Position(0, cursor.LCD_cursor_y++);
            } else {
                LCD_Set_Position(0, 0);
            }
        }

    }

}
/**
 * Write a single char to LCD.
 * @param ch char to write.
 */
Write a single char to LCD.
@param ch char to write.
Write a single char to LCD . @param ch char to write .
void LCD_Write_Char(uint8_t ch) {
    uint8_t line;
    if (ch == 208 || ch == 209) {
        return;
    }
    if (ch == '\n') {
        LCD_Set_Position(0, cursor.LCD_cursor_y + 1);
        return;
    }
    if (ch == '\t') {
        ch = ' ';
    }
    for (line = 0; line < 6; line++) {
        LCD_Write_Data(LCD_getChar(ch, line));
        if (cursor.LCD_cursor_x < 83) {
            cursor.LCD_cursor_x += 1;
        } else {
            if (cursor.LCD_cursor_y < 5) {
                LCD_Set_Position(0, cursor.LCD_cursor_y++);
            } else {
                LCD_Set_Position(0, 0);
            }
        }
    }
}
void LCD_Write_Char ( uint8_t ch ) { uint8_t line ; if ( ch == 208 || ch == 209 ) { return ; } if ( ch == ' \n ' ) { LCD_Set_Position ( 0 , cursor . LCD_cursor_y + 1 ) ; return ; } if ( ch == ' \t ' ) { ch = ' ' ; } for ( line = 0 ; line < 6 ; line ++ ) { LCD_Write_Data ( LCD_getChar ( ch , line ) ) ; if ( cursor . LCD_cursor_x < 83 ) { cursor . LCD_cursor_x += 1 ; } else { if ( cursor . LCD_cursor_y < 5 ) { LCD_Set_Position ( 0 , cursor . LCD_cursor_y ++ ) ; } else { LCD_Set_Position ( 0 , 0 ) ; } } } }
Write a single char to LCD.
Write a single char to LCD .