Cybernetic

 


MORSE


Y ESTE ES EN EL ID DE ARDUINO

#include <Arduino.h>
#include <Wire.h>
#include <SoftwareSerial.h>

void _delay(float seconds) {
long endTime = millis() + seconds * 1000;
while(millis() < endTime) _loop();
}

void setup() {
pinMode(12,OUTPUT);
for(int count=0;count<10;count++){
digitalWrite(12,1);
_delay(0.1);
digitalWrite(12,0);
_delay(0.1);
digitalWrite(12,1);
_delay(0.1);
digitalWrite(12,0);
_delay(0.1);
digitalWrite(12,1);
_delay(0.1);
digitalWrite(12,0);
_delay(0.3);
digitalWrite(12,1);
_delay(0.1);
digitalWrite(12,0);
_delay(0.1);
digitalWrite(12,1);
_delay(0.1);
digitalWrite(12,0);
_delay(0.4);
digitalWrite(12,1);
_delay(0.1);
digitalWrite(12,0);
_delay(0.2);
digitalWrite(12,1);
_delay(0.1);
digitalWrite(12,0);
_delay(0.3);
}

}

void _loop() {
}

void loop() {
_loop();
}





SEMAFORO



USUARIOS Y CONTRASEÑAS


CLUB DE ROBÓTICA - ROBÓTICA EDUCATIVA.
Descargar Aplicaciones:
Ide Mblock (en linea)