与ATmega328P的st9720 LCD SPI通信

问题描述

我目前正在尝试使用ST9720在LCD上写一个简单的字符串,当我运行源代码来打印简单字符串的ive时,LCD上会产生很多杂音。我不确定为什么,我在想也许是时钟值,但是我不确定如何设置时钟值,以消除LCD上的噪音。 LCD连接到atmega328P芯片,该芯片连接到通过spi进行通信的avr编程器。这也使用了atmel,我从https://github.com/olikraus/u8g2/wiki/u8g2as7中获取了代码 它使用u8g2库。任何帮助表示赞赏。

MongoDB shell version v4.4.1
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
Implicit session: session { "id" : UUID("37c03a8f-8741-4880-9a80-32bf36700e45") }
MongoDB server version: 4.4.1
---
The server generated these startup warnings when booting:
        2020-09-25T13:10:27.011+05:30: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted
---
---
        Enable MongoDB's free cloud-based monitoring service,which will then receive and display
        metrics about your deployment (disk utilization,CPU,operation statistics,etc).

        The monitoring data will be available on a MongoDB website with a unique URL accessible to you
        and anyone you share the URL with. MongoDB may use this information to make product
        improvements and to suggest MongoDB products and deployment options to you.

        To enable free monitoring,run the following command: db.enableFreeMonitoring()
        To permanently disable this reminder,run the following command: db.disableFreeMonitoring()
---
>

解决方法

使用 u8g2_Setup_st7920_s_128x64_f() 而不是使用 u8g2_Setup_st7920_s_128x64_1()

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...