Entradas

Mostrando las entradas de octubre, 2019

Informe

Imagen
  27 De Septiembre Del 2019 Empezamos A Decorar La Casa Con Papeles Impresos Con Diseños, También Hicimos Un Avanze En Los Circuitos. 20 De Octubre Del 2019 Añadimos Un Circuito Bluetooth Que Enciende Y Apaga Luces Leds Mediante Botones En El Celular Android 28 De Octubre Del 2019 Terminamos 2 Circuitos Bluetooth 1ro Enciende Y Apaga Luces Leds El 2do Mueve 2 Dos Servomotores Que Sirven Para Mover El Garaje Y La Puerta Y También Y Además Se Pueden Subir Y Bajar El Voltaje De Las LED Y Todo Mediante El Celular

MiT App Inventor/ Más Botones

Imagen

Conectar Bluetooth Arduino Y App Inventor

int pinLed=2; int dato=0; void setup(){   pinMode(pinted,OUTPUT);   Serial.begin(9600); } void loop(){   if(Serial.available()>0)   (dato=Serial.read();)   if(dato='1')   (digitalWrite(pinted,HIGH);)   else if (dato=='0')   (digitalWrite(pinted,LOW);) }