LCD1206运行了以下代码,通过了验证并且成功上传
但是并没有显示Halloword
- #include <LiquidCrystal.h>
- // initialize the library by associating any needed LCD interface pin
- // with the arduino pin number it is connected to
- const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
- LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
- void setup() {
- // set up the LCD's number of columns and rows:
- lcd.begin(16, 2);
- // Print a message to the LCD.
- lcd.print("hello, world!");
- }
- void loop() {
- // Turn off the blinking cursor:
- lcd.noBlink();
- delay(3000);
- // Turn on the blinking cursor:
- lcd.blink();
- delay(3000);
- }
复制代码 运用大佬的程序寻找端口,显示没有
我的ardunio是已经集成了的板,如图
LCD连接的是16接口
我该如何是好?
|