2014-git-work/arduino/AnalogReadSerial_x6/AnalogReadSerial_x6.ino
2012-08-28 22:52:01 +09:00

18 lines
374 B
C++

void setup() {
Serial.begin(9600);
}
void loop() {
Serial.print(analogRead(0));
Serial.print('\t');
Serial.print(analogRead(1));
Serial.print('\t');
Serial.print(analogRead(2));
Serial.print('\t');
Serial.print(analogRead(3));
Serial.print('\t');
Serial.print(analogRead(4));
Serial.print('\t');
Serial.print(analogRead(5));
Serial.print('\n');
}