전체상품목록 바로가기

본문 바로가기


현재 위치
  1. home
  2. community
  3. 튜토리얼

튜토리얼

튜토리얼 Tutorial

게시판 상세
subject RT1. 아두이노 설치하고 LED Blink 깜빡이 프로그래밍 하기
writer 아트로봇 (ip:124.50.164.53)
  • date 2011-04-30 13:09:35
  • like 추천하기
  • view 13751
rating 0점

아두이노 UNO[제품링크], Mega2560 [제품링크]
USB 케이블 (A to B 타입단자) [제품링크]


아두이노 보드 [아두이노 리스트]
FTDI USB시리얼 변환기 [제품선택 가이드]
A to mini-B 타입 USB케이블 [제품링크]
http://arduino.cc/en/Main/Software
/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
This example code is in the public domain.
*/

void setup() {
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(13, OUTPUT);
}

void loop() {
digitalWrite(13, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(13, LOW); // set the LED off
delay(1000); // wait for a second
}

 

 

참고사항.

최신 스케치 버전을 사용시 시리얼통신 관련 오류가 많은것 같습니다. 시리얼통신 오류, 업로드 에러가 반복될 경우 구버전(023)으로 재시도해보시기바랍니다.  더불어 시리얼통신 연동 프로그램은 여러가지 사유로 작동이 불안정한 경우가 많습니다. 이는 아두이노의 오류가 아닌  PC상에서 가상 시리얼포트를 처리하는데 따른 OS상의 문제인경우가 많으며 프로그램 재시작이나 OS 재가동으로 문제가 해결될 수 있습니다.

 

 

file
password 수정 및 삭제하려면 비밀번호를 입력하세요.
댓글 수정

password :

/ byte

password : 확인 취소

댓글 입력

commentsname : password : 관리자 답변 보기

/ byte

왼쪽의 문자를 공백없이 입력하세요.(대소문자구분)

회원에게만 댓글 작성 권한이 있습니다.