int num = 0; void setup() { Serial.begin(115200); // 通信速度をbpsで設定 } void loop() { Serial.printf("%d \n" , num); num++; delay(500); // 500ミリ秒待つ }