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

18 lines
386 B
C++

void setup() {
Serial.begin(9600);
}
void loop() {
Serial.print(digitalRead(14));
Serial.print('\t');
Serial.print(digitalRead(15));
Serial.print('\t');
Serial.print(digitalRead(16));
Serial.print('\t');
Serial.print(digitalRead(17));
Serial.print('\t');
Serial.print(digitalRead(18));
Serial.print('\t');
Serial.print(digitalRead(19));
Serial.print('\n');
}