当前位置:网站首页>Solve the problem that only one line of text is displayed or not displayed in u8glib
Solve the problem that only one line of text is displayed or not displayed in u8glib
2022-06-27 00:52:00 【arenascat】
The problem we just encountered ,OLED In the use of u8glib When this library , The display is incomplete , I called these two during initialization , Each has its own merits , One is to display only two lines of text, the other is not to display at all
U8G2_SSD1306_128X64_NONAME_2_HW_I2C u8g2(U8G2_R0); // Only two lines are displayed
U8G2_SSD1306_128X64_VCOMH0_F_HW_I2C u8g2(U8G2_R0); // No display
One reason is that RAM The reason for using up , Therefore, it cannot be displayed normally ,u8g To use hardware I2C, It takes up a lot of RAM Used as a Buffer

If say RAM It's not enough , The software can only be used during initialization I2C
U8G2_SSD1306_128X64_NONAME_F_SW_I2C u8g2(U8G2_R0, /* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE); // Slow speed
边栏推荐
- Lorsque le transformateur rencontre l'équation différentielle partielle
- 05 | 规范设计(下):commit 信息风格迥异、难以阅读,如何规范?
- 寻找旋转排序数组中的最小值 II[经典抽象二分 + 如何破局左中右三者相等]
- Xiaobai looks at MySQL -- installing MySQL in Windows Environment
- 如何通俗易懂的描述机器学习的流程?
- Oracle 数据库基本知识概念
- CEC-I 中华学习机使用说明与问答
- BootstrapBlazor + FreeSql实战 Chart 图表使用(2)
- Moher College -x-forwarded-for injection vulnerability practice
- find_ Detailed use guide of CIRC
猜你喜欢

kubeadm创建kubernetes集群

Network in network (dolls)

com. fasterxml. jackson. databind. exc.MismatchedInputException: Expected array or string. at [Source:x

Simulation of delta variant strain of novel coronavirus (mindsponge application)

敲重点!最全大模型训练合集!

基于SSMP的宠物医院管理系统

Lambda表达式

Lambda expression

Is there anyone who doesn't know the three cores of concurrent programming?

CEC-I 中华学习机使用说明与问答
随机推荐
从位图到布隆过滤器,C#实现
Serial port debugging tool mobaxtermdownload
USB协议中HID设备描述符以及键盘按键值对应编码表
Central Limit Theorem
JSON解析,ESP32轻松获取时间气温和天气
Is it safe to open a compass account?
matlab数据类型 —— 字符型
xml学习笔记
Live review | Ziya &ccf TF: Discussion on software supply chain risk management technology under cloud native scenario
Network in network (dolls)
How to control the quality of HD slip ring in the production process
Is it reliable to speculate in stocks by mobile phone? Is it safe to open an account and speculate in stocks online
数字格式化的 js 库
2022年地理信息系统与遥感专业就业前景与升学高校排名选择
Review the old and know the new -- constant renewal at normal temperature
Big guys talk about the experience sharing of the operation of the cutting-edge mindspore open source community. Come up with a small notebook!
敲重点!最全大模型训练合集!
安利!如何提优质的ISSUE?学霸是这样写的!
Lorsque le transformateur rencontre l'équation différentielle partielle
Using physical information neural network to solve hydrodynamics equations