Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Need lcd library for STM32F3 discovery board

Status
Not open for further replies.

BiNa2605

Full Member level 3
Joined
Sep 1, 2015
Messages
179
Helped
6
Reputation
12
Reaction score
4
Trophy points
18
Location
VietNam
Activity points
1,357
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
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");
    }
}
I also attached my project.
 

Attachments

  • LCD.rar
    2 MB · Views: 86

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top