// This example lets the i/o board read an analog input // value, and send it via the serial port. The value that // it sends is coded as a single byte value. void setup() { Serial.begin(9600); // start serial comm at 9600 bps } void loop() { int v = analogRead(0); // read analog input pin 0 Serial.print(v/4, BYTE); // send via serial port delay(100); // wait 100ms for next reading }