金牌会员
- 积分
- 1948
- 威望
- 935
- 贡献
- 599
- 兑换币
- 577
- 注册时间
- 2014-11-19
- 在线时间
- 207 小时
|
本帖最后由 val95 于 2018-1-4 14:47 编辑
扫码看教程
文件校验:
Filename : PangpangOLED.h
MD5 : 29dd1f66d7284fdf927cf3a042ef4df6
Filename : PangpangOLED.c
MD5 : 4005d0869ae020988e4476f7453d0f0e
测试平台:
STM32F103C8T6 S9KEAZ128AMLK
支持屏幕:
12864(SS1306)
修复:
参数命名不规范处:
void OLED_GUIPlaneDrawString8X16(unsigned char windowNumber,unsigned char x,unsigned char y,unsigned char * GUIPlaneDrawString,unsigned char color,unsigned char fillBool,unsigned char angle,unsigned uprightBool);
修改为:
void OLED_GUIPlaneDrawString8X16(unsigned char windowNumber,unsigned char x,unsigned char y,unsigned char * drawString,unsigned char color,unsigned char fillBool,unsigned char angle,unsigned uprightBool);
函数命名错误:
void OLED_BufferFlashFlasgClear(void);
修改为:
void OLED_BufferFlashFlagClear(void);
修复Draw层画点安全范围限制:
void OLED_DrawPoint(unsigned char x,unsigned char y,unsigned char color);
void OLED_GUIPlaneDrawPoint(unsigned char windowNumber,unsigned char x,unsigned char y,unsigned char color);
新增:
屏幕整体反色;
void OLED_BufferInverseAll(void);
屏幕区域性反色;
void OLED_BufferInverseRect(unsigned char x,unsigned char y,unsigned char width,unsigned char height);
void OLED_DrawInverseRect(unsigned char x,unsigned char y,unsigned char width,unsigned char height);
屏幕横向左右滚动,可选择黑色填充滚动、白色填充滚动;
void OLED_BufferRolling(unsigned char direction,unsigned char color);
屏幕竖向上下滚动,可选择黑色填充滚动、白色填充滚动;
void OLED_BufferRolling(unsigned char direction,unsigned char color);
默认不启用GUI;
#define OLED_GUI_ENABLE OLED_FALSE
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|