BiNa2605
Full Member level 3
I changed LCD library found on the internet from STM32F4 to STM32F3. Now it has not any errors but the LCD does not display any character. This is my code
I also attached my project.
Code:
#include "stm32f30x.h"
#include "HD44780.h"
#include "stdlib.h"
#include <stdio.h>
int main(void)
{
LCD_ConfigurePort(GPIOD,GPIO_Pin_7, GPIO_Pin_5, GPIO_Pin_6,0,0, 0, 0,GPIO_Pin_0, GPIO_Pin_1, GPIO_Pin_2, GPIO_Pin_3);
// RS RW EN D4 D5 D6 D7
LCD_Initalize(BUS_WIDTH_4, DISPLAY_LINES_2, FONT_5x8);
//Put string to LCD
LCD_MoveToPosition(0x00);
LCD_Print("Display LCD");
while (1)
{
LCD_MoveToPosition(0x00);
LCD_Print("Display LCD");
}
}