import muvium.compatibility.arduino.*;
public class Class0 extends Arduino{
// The setup() method runs once, when the sketch starts
public void setup(){
// Your setup code goes here
pinMode(13,OUTPUT);
pinMode(12, OUTPUT);
}
// the loop() method runs over and over again,
// as long as the Arduino has power
public void loop(){
// Your loop code goes here
digitalWrite(13,HIGH);
delay(3000);
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(12, HIGH);
delay(3000);
digitalWrite(12, HIGH);
delay(1000);
}
}
Do'stlaringiz bilan baham: |