arduino-course/Week 2/Serial-test/Serial-test.ino

14 lines
174 B
Arduino
Raw Permalink Normal View History

2019-11-15 23:55:07 +01:00
// Serial port test
int time = 0;
void setup() {
Serial.begin(9600);
Serial.println("Elapsed time");
}
void loop() {
Serial.println(time);
time++;
delay(1000);
}