const int motorPin = 5; void setup() { pinMode(motorPin,OUTPUT); } void loop() { digitalWrite(motorPin, HIGH); delay(1000); digitalWrite(motorPin,LOW); delay(10000); }