From 6b0d1f644233b2984d2a87553de598879cf05caf Mon Sep 17 00:00:00 2001 From: jinlicong <493886250@qq.com> Date: Tue, 28 May 2024 17:24:59 +0800 Subject: [PATCH] 继续完善 --- Function/LCD/lcd_io_api.h | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Function/LCD/lcd_io_api.h b/Function/LCD/lcd_io_api.h index 7bef53c..998884f 100644 --- a/Function/LCD/lcd_io_api.h +++ b/Function/LCD/lcd_io_api.h @@ -30,11 +30,11 @@ #define LCD_SYSTEM_MODE_COMMAND_ADDR 0x84 -#define LCD_PWR_GPIO_PORT GPIOD -#define LCD_PWR_PIN GPIO_Pin_7 +#define LCD_PWR_GPIO_PORT GPIOF +#define LCD_PWR_PIN GPIO_Pin_0 -#define LCD_BACKLIGHT_PWR_GPIO_PORT GPIOD -#define LCD_BACKLIGHT_PWR_PIN GPIO_Pin_8 +//#define LCD_BACKLIGHT_PWR_GPIO_PORT GPIOD +//#define LCD_BACKLIGHT_PWR_PIN GPIO_Pin_8 //��ʾ����Դ #define LCD_PWR_ON GPIO_SetBits(LCD_PWR_GPIO_PORT,LCD_PWR_PIN) @@ -43,8 +43,8 @@ #define LCD_PWR_IO_READ GPIO_ReadInputDataBit(LCD_PWR_GPIO_PORT,LCD_PWR_PIN) //����� -#define LCD_BACKLIGHT_ON GPIO_SetBits(LCD_BACKLIGHT_PWR_GPIO_PORT,LCD_BACKLIGHT_PWR_PIN) -#define LCD_BACKLIGHT_OFF GPIO_ResetBits(LCD_BACKLIGHT_PWR_GPIO_PORT,LCD_BACKLIGHT_PWR_PIN) +//#define LCD_BACKLIGHT_ON GPIO_SetBits(LCD_BACKLIGHT_PWR_GPIO_PORT,LCD_BACKLIGHT_PWR_PIN) +//#define LCD_BACKLIGHT_OFF GPIO_ResetBits(LCD_BACKLIGHT_PWR_GPIO_PORT,LCD_BACKLIGHT_PWR_PIN) /*********************************************************************** * ���ƣ�Lcd_DisplaySeg() -- Gitblit v1.9.3