2017-11-09 16 views
-3
// include the library code: 
#include <LiquidCrystal.h> 

const int rs = 13, en = 12, 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 on the display: 
    lcd.display(); 
    delay(500); 
} 

아두 이노 보드를 작동하지 : enter image description here아두 이노 C 코드

내가 여러 번 시도하고 나를 위해 작동하지 않을 것입니다.

내 결과는 :

+1

수행하려는 작업과 오류의 자세한 내용을 입력하십시오. 외부 이미지 링크가 사라지고 질문을 쓸데없이 남겨 둘 수 있습니다. – roelofs

+2

''나를 위해 효과가 없을 것입니다. ''이게 무슨 뜻입니까? 결과는 무엇입니까 (질문에 편집 할 수 있습니다)! –

답변

0

당신이 대비를 조정할 필요가 디스플레이 될 것 같은데?

진술 : Arduino와 디스플레이 사이의 와이어가 맞으면 사진을 확인하지 않겠습니다.

0

설정에 lcd.display()를 추가하십시오.