Skip to content

mrgadotti/lcd-stm32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Custom librarie to use 16x2 LCD on STM32

Based on: 4 Pins LCD-Character Library for STM32 HAL

Usage:

  • Copy the files lcd.c and DWT_Delay.c to Src folder
  • Copy the files lcd.h, lcd_config.h and DWT_Delay.h to Inc folder

On main.h, add the follow includes:

#include "DWT_Delay.h"
#include "lcd.h"

On main.c, add the follow calls on /* USER CODE BEGIN 2 */:

DWT_Delay_Init();
LCD_Init();

On lcd_config.h, configure the GPIO used on the LCD.

About

Custom library to use LCD 16x2 on STM32

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages