Розмір відео: 1280 X 720853 X 480640 X 360
Показувати елементи керування програвачем
Автоматичне відтворення
Автоповтор
#include int grado=0;int i = 0;int j = 0;Servo servo_2;void setup(){servo_2.attach(2, 500, 2500);pinMode(3, OUTPUT);pinMode(4, OUTPUT);pinMode(5, OUTPUT);pinMode(6, OUTPUT);}void loop(){// barrido del servo motor con gradosgrado = 0;for (grado = 0; grado = 0; grado -= 1) {servo_2.write(grado);delay(30); // Wait for 30 millisecond(s)if (grado == 0) {digitalWrite(7, LOW);}if (grado == 45) {digitalWrite(6, LOW);}if (grado == 90) {digitalWrite(5, LOW);}if (grado == 135) {digitalWrite(4, LOW);}if (grado == 180) {digitalWrite(3, LOW);}}delay(1000);}
DIOS TE BENDIGA VV
Que crack profe
grande profe vladiii
#include
int grado=0;
int i = 0;
int j = 0;
Servo servo_2;
void setup()
{
servo_2.attach(2, 500, 2500);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
}
void loop(){
// barrido del servo motor con grados
grado = 0;
for (grado = 0; grado = 0; grado -= 1) {
servo_2.write(grado);
delay(30); // Wait for 30 millisecond(s)
if (grado == 0) {
digitalWrite(7, LOW);
}
if (grado == 45) {
digitalWrite(6, LOW);
}
if (grado == 90) {
digitalWrite(5, LOW);
}
if (grado == 135) {
digitalWrite(4, LOW);
}
if (grado == 180) {
digitalWrite(3, LOW);
}
}
delay(1000);
}
DIOS TE BENDIGA VV
Que crack profe
grande profe vladiii