当前位置:网站首页>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
边栏推荐
- test
- com.fasterxml.jackson.databind.exc.MismatchedInputException: Expected array or string. at [Source:x
- 07 | workflow design: how to design a reasonable multi person development mode?
- Amway! How to provide high-quality issue? That's what Xueba wrote!
- These 10 copywriting artifacts help you speed up the code. Are you still worried that you can't write a copywriting for US media?
- Is it safe for CITIC Securities Commission to open an online account and speculate in stocks
- No clue about complex data?
- Is it reliable to speculate in stocks by mobile phone? Is it safe to open an account and speculate in stocks online
- 超越锂电池——未来电池的概念
- 【UVM实战 ===> Episode_3 】~ Assertion、Sequence、Property
猜你喜欢
Flink practical problems (VII): no watermark (watermarks are only available eventtime is used)
冲刺强基计划数学物理专题二
Using physical information neural network to solve hydrodynamics equations
Hit the point! The largest model training collection!
What is the difference between the working principle of gas-liquid slip ring and other slip rings
【Mysql】时间字段默认设置为当前时间
Oracle database basics concepts
ESP32实验-自建web服务器配网02
Com. Faster XML. Jackson. DataBind. Exc.mismatchedinputexception: tableau ou chaîne attendu. At [Source: X
剑指 Offer 10- II. 青蛙跳台阶问题
随机推荐
Moher College -x-forwarded-for injection vulnerability practice
网上开通证券账户安全吗 手机炒股靠谱吗
When transformer encounters partial differential equation solution
Batch generate folders based on file names
基于SSMP的宠物医院管理系统
解决u8glib只显示一行文字或者不显示的问题
Lorsque le transformateur rencontre l'équation différentielle partielle
当Transformer遇见偏微分方程求解
冲刺强基计划数学物理专题二
记录一次换行符引起的bug
Memorizing byte order of big and small end
一键加速索尼相机SD卡文件的复制操作,文件操作批处理教程
新型冠状病毒变异Delta毒株的模拟(MindSPONGE应用)
Freescale 单片机概述
Oracle 数据库基本知识概念
Flink 实战问题(七):No Watermark(Watermarks are only available EventTime is used)
Moher College - SQL injection vulnerability test (error reporting and blind note)
如何通俗易懂的描述机器学习的流程?
3线spi屏幕驱动方式
CPU的异常处理