포토트랜지스터 수신 광을 전압으로void setup() // Built-in initialization block{ Serial.begin(9600); // Set data rate to 9600 bps}void loop() // Main loop auto-repeats{ Serial.print("A3 = "); // Display "A3 = " Serial.print(volts(A3)); // Display measured A3 volts Serial.println(" volts"); // Display " volts" & newline delay(1000); // Delay for 1 second} float volts(int adPin) //Measures volts at adPin, Returns..