--------- 예제 소스 수정 -------------------------------------

 

#define LED D0

 

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED, OUTPUT);
}

 

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

 

 

--------- 다운로드 하면 아래 메세지 출력  ------------------

 

스케치는 프로그램 저장 공간 247051 바이트(23%)를 사용. 최대 1044464 바이트.
전역 변수는 동적 메모리 32864바이트(40%)를 사용, 49056바이트의 지역변수가 남음.  최대는 81920 바이트.
Uploading 251200 bytes from C:\Users\bigwa\AppData\Local\Temp\arduino_build_669391/Blink.ino.bin to flash at 0x00000000
................................................................................ [ 32% ]
................................................................................ [ 65% ]
................................................................................ [ 97% ]
......                                                                           [ 100% ]

 

 

'공부 > arduino' 카테고리의 다른 글

nodeMCU 타이머(Ticker)살리기  (0) 2018.03.09
아두이노 멀티 장비 설정  (0) 2018.03.07
nodeMCU H/W특징  (0) 2018.03.06
nodeMCU 아두이노 설정  (0) 2018.03.06
아두이노 Nuvoton 관련  (0) 2018.03.05

+ Recent posts