Loading...

You have no items in your shopping cart.

 
 
 
×

Registration

Profile Informations

Login Datas

or login

First name is required!
Last name is required!
First name is not valid!
Last name is not valid!
This is not an email address!
Email address is required!
This email is already registered!
Password is required!
Enter a valid password!
Please enter 6 or more characters!
Please enter 16 or less characters!
Passwords are not same!
Terms and Conditions are required!
Email or Password is wrong!
Captcha is required!
Captcha is wrong!

Nokia 5110 Display Lib for STM32 GCC

The IFALT32 v2.0 support the Nokia 5110 LCD module, it provide you a inexpensive and simple display options instead of using the ITDB02 TFT LCD module.

Here we release a simple display library for the IFLAT32 with 5110 LCD, it provide you some basic display function.

Functions:

void LCD5110_init(void)
Initial the 5110 LCD hardware, use this function at the top of your mail code.
void LCD5110_write_char(unsigned char c)
Display one Character on 5110 LCD.

void LCD5110_write_char_reg(unsigned char c)
Display one Character on 5110 LCD, with inverted color.
void LCD5110_clear(void);
Clear the screen.
void LCD5110_set_XY(unsigned char X,unsigned char Y)
Set the display position.
void LCD5110_write_string(char *s)
Display string.

And here is a simple demo code for how to use these functions.

#include 
int main(void)
{
	LCD5110_init();
	LCD5110_set_XY(0,0);
	LCD5110_write_string("Hello World");
        while(1);
}

Download the library here:

  Nokia 5110 LCD Display Library for STM32 GCC (3.2 KiB, 1,678 hits)