BASIC4MCU | 질문게시판 | lcd 화면에 글자가 안보이네요
페이지 정보
작성자 황룡수색 작성일2023-05-19 13:30 조회78회 댓글7건본문
Arduino uno wifi를 활용한 lcd예제를 하고 있습니다. 하지만 업로딩 단계에서 이러한 에러가 나타납니다.
무엇이 잘못된것인지 알 수 있을까요?
스케치는 다음과 같습니다.
#include#includeLiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line displayvoid setup(){lcd.init(); // initialize the lcd// Print a message to the LCD.lcd.backlight();lcd.setCursor(0,0);lcd.print("Hello, world!");lcd.setCursor(0,1);lcd.print("1602 lcd test");}void loop(){}
댓글 7
조회수 78master님의 댓글
master 작성일
첨부한 캡쳐에는 에러라는 문구가 보이지 않으며
아두이노 우노라고 했는데 제일 위에 mega는 왜 보일까요?
보드 설정을 제대로 하셨을까요?
황룡수색님의 댓글
황룡수색 작성일
계산 속도가 느려서 보드를 Arduino megaAVR 보드로 설정했습니다.
다시 보드를 Arduino AVR 보드로 설정하겠습니다.
혹시 프로그래머는 어떤것을 선택해야할까요?
master님의 댓글
master
프로그래머를 왜 선택하죠?
보드와 COM포트를 선택한 후 업로드하면 됩니다.
황룡수색님의 댓글
황룡수색
avrdude: stk500_recv(): programmer is not responding라고 뜨는데
보드, 포트 확인했고 드라이브까지 설치했는데 무엇이 문제일까요??
황룡수색님의 댓글
황룡수색
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\CtFd(B.S Student)\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM1
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x98
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x98
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1
master님의 댓글
master 작성일
아두이노 부트로더가 깨진 것 아닌가요?
일단 USB드라이버 최신 버전으로 다시 설치 해보고 안된다면
그동안 무엇을 했는지 잘 체크해서 문제가 없었는 지를 찾으셔야 합니다.
황룡수색님의 댓글
황룡수색
넵! 감사합니다