Arduino UNO Based Project Complete Code or Mobile Oprated JCB Demo. In this Project all the JCB can be operated directly via the Mobile Keypads and Or via a call and Key pad in the same way currently automatic call system of various serivce provider used to encode or pressed key frequecy.
int mot1=3;
int mot2=4;
int mot3=5;
int mot4=6;
int mot5=7;
int mot6=8;
void setup()
{
Serial.begin(9600);
pinMode(mot1,OUTPUT);
pinMode(mot2,OUTPUT);
pinMode(mot3,OUTPUT);
pinMode(mot4,OUTPUT);
pinMode(mot5,OUTPUT);
pinMode(mot6,OUTPUT);
}
void loop()
{
digitalWrite(mot2,LOW);
digitalWrite(mot3,LOW);
digitalWrite(mot6,LOW);
digitalWrite(mot1,HIGH);
digitalWrite(mot4,HIGH);
digitalWrite(mot5,HIGH);
delay(1000);
digitalWrite(mot1,LOW);
digitalWrite(mot4,LOW);
digitalWrite(mot5,LOW);
digitalWrite(mot2,HIGH);
digitalWrite(mot3,HIGH);
digitalWrite(mot6,HIGH);
delay(1000);
}
No comments:
Post a Comment