一、LCD2004a模块外观
二、时钟配置 STM32F103RCT6
硬件I2C配置 &hi2c1
三、驱动程序编写
i2c-lcd20x4.h
#ifndef __I2C_LCD_20x4_H
#define __I2C_LCD_20x4_H
#include "gpio.h"
void lcd_init (void); // initialize lcd
void lcd_send_cmd (char cmd); // send command to the lcd
void lcd_send_data (char d