I'm using Tiva c to drive an LCD but some characters and numbers are wrong displayed, for example, N is displayed as L, 2 and 3 are displayed as 0 but other characters and letters are displayed correctly.
Here is the function that displays characters:
void LCD_voidWriteCharacter(char Character)
{
SET_BIT(GPIO_PORTA_DATA_R, 7); // RS pin is 1 -> data
GPIO_PORTB_DATA_R = Character;
SET_BIT(GPIO_PORTA_DATA_R, 5); // Enable is high (latch)
Delay_ms(2);
CLEAR_BIT(GPIO_PORTA_DATA_R, 5); // Enable is low
}
where could be the problem? sorry for my english