void setup() { Serial.begin(9600); } void loop() { Serial.println(1); delay(500); Serial.println(0); delay(500); }