์ค๋ธ์ ํธ1 ๋น์ ๋ฐ๊ธฐ์ ๋ฐ๋ฅธ ์ค๋ธ์ ํธ ํฌ๊ธฐ ๋ณ๊ฒฝ flow ์๋์ด๋ ธ์ ๋ผ์ดํธ ์ผ์๋ฅผ ์ฐ๊ฒฐํ์ฌ ๊ฐ์ ํ์ธํจ. ์ผ์์ ๊ฐ์ ์๋ฆฌ์ผํต์ ์ผ๋ก ์ ์ก processing์์ ์ผ์์ ๊ฐ์ parsingํจ ์ผ์์ ๊ฐ์ด ์ปค์ง์๋ก ์ ์ก๋ฉด์ฒด์ ํฌ๊ธฐ๊ฐ ์ปค์ง ์๋์ด๋ ธ code int light = 0; void setup() { // put your setup code here, to run once: Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: light = analogRead(A1); Serial.print(light); Serial.print(","); delay(500); } processing code import processing.serial.*; Serial .. 2019. 11. 26. ์ด์ 1 ๋ค์