微调与更新栈

This commit is contained in:
2023-10-18 18:00:04 +08:00
parent bd56fdcd73
commit 37f331b842
8 changed files with 134 additions and 6 deletions

View File

@@ -9,6 +9,7 @@
#include "AbsDrive_OLED.h"
#include "AbsDriveOledFont.h"
#if (ABSDrive_OLED_ON)
/**************************抽象实现区(BEGIN)************************************/
#if (defined ABSDrive_4SPI)||(defined ABSDrive_3SPI)||(defined ABSDrive_HardIIC)||(defined ABSDrive_SoftIIC)
@@ -590,3 +591,4 @@ ABS_OLED_Drive Create_OLED(void){
return drive;
}
#endif

View File

@@ -12,7 +12,9 @@
#include "stdint.h"
#include "stdlib.h"
#define ABSDrive_OLED_ON 0
#if(ABSDrive_OLED_ON)
/**************************配置区(BEGIN)***************************/
/*------------你的头文件(BEGIN)----------------*/
//#include "spi.h"
@@ -22,6 +24,7 @@
#include "stdio.h"
/*------------你的头文件(END)------------------*/
/*----1、选择驱动芯片----*/
/*
根据你的OLED屏幕选择其中一种
@@ -147,6 +150,7 @@ ABS_OLED_Drive Create_OLED(void); //创建OLED设备
#endif
#endif //__ABS_DRIVE_OLED_H