This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
在尝试将 Adafruit 144x168 Sharp 内存显示与 CC1352R-LPSTK 连接时,我发现 SharpGralib.c 图形库中存在逻辑错误。
也就是说,该任务的所有实例:
UINT16_t heigth = pDisplay->heigth;
应替换为:
UINT16_t width = pDisplay-> width;
使用局部变量“heigth”的每个位置都应替换为“width”(宽度)。
驱动程序使用128x128锐液晶屏的原因是高度和宽度相同,128。 当宽度与高度不同时(如 Adafruit 锐度显示),与像素关联的显示缓冲区地址的计算不正确。
我还建议增强 Display 模块的 sysconfig 内容,以支持'lcdHeight'和'lcdWidth'值,而不是'lcdSize',以便用户可以轻松地调整 Display 驱动程序,使其与非平方的清晰 LCD 配合使用。
艾伦
你好,艾伦
感谢您的建议! 我将研究您对我们图书馆的评论,并将您的评论反馈给我们的软件开发团队!