OLED驱动

RAM AND FLASH不是很够,只能直接读写屏幕
Signed-off-by: kevin <kevin@lmve.net>
This commit is contained in:
2022-03-27 16:07:41 +08:00
parent 174d516f58
commit bb1af0d4f3
17 changed files with 357 additions and 7326 deletions
+25
View File
@@ -0,0 +1,25 @@
/*
* OLED.h
*
* Created on: 2022年3月27日
* Author: wuwen
*/
#ifndef OLED_H_
#define OLED_H_
#include "main.h"
#include "interface.h"
#define OLED_ADDRESS 0x78
#define PI 3.141592654
#define X_WIDTH 128
#define Y_WIDTH 64
#define Y_WIDTH_ 8
void OLED_Init(void);
void OLED_Init_Display_Buffer(char a);
void OLED_ShowChar(unsigned char x,unsigned char y,unsigned char chr);
#endif /* OLED_H_ */