標(biāo)題: 為啥我的LCD1602顯示白塊 [打印本頁]

作者: 127555877    時(shí)間: 2023-3-1 08:50
標(biāo)題: 為啥我的LCD1602顯示白塊
這是怎么情況呀

作者: 人中狼    時(shí)間: 2023-3-1 10:34
調(diào)節(jié)一下對(duì)比度吧
作者: a399288395    時(shí)間: 2023-3-1 13:17
借給你一個(gè)1602的驅(qū)動(dòng)代碼; 我經(jīng)常用,有時(shí)要調(diào)試數(shù)據(jù) 就可以直接用1602顯示, 可以顯示數(shù)字,字符,字符串,2進(jìn)制數(shù),16進(jìn)制數(shù),很方便, LCD1602驅(qū)動(dòng)代碼.rar (1.62 KB, 下載次數(shù): 33)


作者: heicad    時(shí)間: 2023-3-1 17:39
來看一下51hei論壇里面解決此問題的痛苦經(jīng)歷吧:
51hei搜索框輸入"1602 方塊"或者"1602 黑塊"或者"1602 白塊"或者"1602 格":

這個(gè)是io口設(shè)置問題,最終搞定了:http://www.torrancerestoration.com/bbs/dpj-199732-1.html
http://www.torrancerestoration.com/bbs/dpj-168643-1.html
http://www.torrancerestoration.com/bbs/dpj-208189-1.html
http://www.torrancerestoration.com/bbs/dpj-210690-1.html

既有可能是軟件問題也有硬件問題
http://www.torrancerestoration.com/bbs/dpj-187378-1.html
http://www.torrancerestoration.com/bbs/dpj-160754-1.html
作者: 111111yfyf    時(shí)間: 2023-3-2 19:07
有可調(diào)節(jié)電位器嗎,用螺絲刀調(diào)試一下就可以,要是沒有在檢查一下電路
作者: zhuls    時(shí)間: 2023-3-4 08:52
看這個(gè)圖,1602掛了
作者: hqboy    時(shí)間: 2023-3-4 17:50
這個(gè)好像是IO端口設(shè)置不對(duì)吧 1602沒得那么容易掛的




歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1