아두이노 Jeremy Tutorial 4 광센서 우혁이 아빠 2013. 10. 27. 21:11 // Do not remove the include below #include "ReadSensorByJeremy.h" const unsigned int sensePin = 0; //The setup function is called once at startup of the sketch void setup() { analogReference(DEFAULT); // isn't necessary Serial.begin(9600); } // The loop function is called in an endless loop void loop() { Serial.println(analogRead(sensePin)); delay(1000); } 저작자표시