Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssd1306水平终止范围错误 #103

Closed
YBA0312 opened this issue May 6, 2021 · 5 comments
Closed

ssd1306水平终止范围错误 #103

YBA0312 opened this issue May 6, 2021 · 5 comments
Labels

Comments

@YBA0312
Copy link

YBA0312 commented May 6, 2021

ssd1306.c 239行
变量x1不需要再次-1

@DaMiBear
Copy link

是的,我也发现这个问题了,在ssd1306.c,老哥打成.h了。

@DaMiBear
Copy link

还有一个问题,也可能是我理解错了。在ssd.1306.c的271行,
ret = LCD_WRITE(p, w * LCD_BPP / 8 * h )
如果宽度w = 1的话,LCD_BPP = 1,那么就会导致最后的数据长度为0,所以我把 / 8 放到了最后。

@TDA-2030
Copy link
Contributor

是不是和屏幕本身有关系呢?我有时候可以,有时候换个屏幕就不对了

@DaMiBear
Copy link

是不是和屏幕本身有关系呢?我有时候可以,有时候换个屏幕就不对了

这文件只针对于SSD1306,应该和屏幕没关系吧。我刚刚接触lvgl,个人拙见。😄

@ARC-MX
Copy link

ARC-MX commented Apr 9, 2022

能上传以下例程吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants