본문 바로가기
아두이노

아두이노 lcd 1602 화면 한글자문제 해결 방법

by artra 2017. 12. 13.
반응형

아두이노 lcd 1602 화면 한글자문제 해결 방법

 

별에 별방법을 해도... 네이X 카페에 확인해봐도 답을 알수가 없었다.

 

분명 난

 

//YWROBOT
//Compatible with the Arduino IDE 1.0
//Library version:1.1
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
 
LiquidCrystal_I2C lcd(0x3F,16,2);  // set the LCD address to 0x27 for a 16 chars and 2 line display
 
void setup(){
  lcd.init();                      // initialize the lcd
  // Print a message to the LCD.
  lcd.backlight();
  lcd.setCursor(3,0);
  lcd.print("Hello, world!");
  lcd.setCursor(2,1);
  lcd.print("Ywrobot Arduino!");
}
 
void loop(){
}
cs

 


이 코드를 넣었는데 H, Y만 보인다..


그러다 모두의 아두이X라는 책을 보게 되었고 거기에 적혀있는방법중 하나인
https://www.arduino.cc/en/Main/OldSoftwareReleases
여기서 1.6.5 버젼을 다운받아 위와 같이 소스코드를 업로드 시켜보니
드디어 작동!!
결론은 최신버젼에서는 안되고 구버젼에서만 된다는것을 확인함


반응형

댓글