3582516297

3582516297



0 TRAFF1C_LIGHT | Arduino 1.8.10 File Edit Sketch Tools Help


i i


| TRAFFIC.LIGHT I

\ i f wuiruf/^

pinMode(8,OUTPUT); pinMode(9,OUTPUT); pinMode(10,OUTPUT); pinMode(11,OUTPUT); pinMode(12,OUTFUT); pinMode(13,OUTFUT);

}

void loop()

{int i;

digitalWrite(2, HIGH);digitalWrite(3,LOW);digitalWrite(4,LOW); digitalWrite(5, LOW);digitalWrite(€,    igitalWrlte(7,ŁON) ;

digitalWrite(8, LOW);dlgitalWrite(9,HIGH);digitalWrite(10,LOW);

. -te (11, ŁON);digitalWrite(12,HIGB) ;digitalWnte(13,L0W); delay (J.00000; for(i=0;i<=5;i++)

1

digitalWrite(5, LOW);digitalWrite(6,HIGH);digitalWrite(7,LOW); digitalWrite(8, LOW);digitaiWrite(9,HIGH);digitalWrite(10,LOW); digitalWrite(11, LOW);digitalWrite(12,HIGH);digitalWrite(13,LOW) digitalWrite(2, HIGH);digitalWrite(3,LOW);digitalWrite(4,HIGH); delay(500);

digitalWrite(2, HIGH);digitalWrite(3,LOW);digitalWrite(4,LOW); delay(500);

}

digitalWrite(2, iow);digitaiwrite(3,high);digitalWrite(4,Ł0W) ; digitalWrite (5, HIGH) ;digitalWrite(6,ŁON);digitalWrite(7,LOff);

I o *    • \ . 1    . . łV«4aafA 0THn    fAUti

Done compiłing

Sketch uses 2036 bytes (6%) of program storage space. Maximum is 32256 bytes.

Global variables use 9 bytes (0%) of dynamie memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

f £ T§j a n




• Cl H\ C« ■ * rt ff 44 ...I


Arduino/Genuino Uno on C0M4

04:51


25-05-2020


25


Wyszukiwarka

Podobne podstrony:
arduino ide blink Blink
24vcg07 Exploring - Dpsetup (U:) File Edit View Tools Help Dpsetup (U:) Ali Folders Contents of Dps
p1 ^ Rejestrator - Measurement ft Automation Explorer    X File Edit View Tools Help
P n1 ^ Rejestrator - Measurement ft Automation Explorer    X File Edit View Tools Hel
uml 100* Bez tytułu - UMLTool L File Edit View Tools Help D IŻ B 1 <    : P:
22303 image014 (45) , JLjb, ► Computer ► DVD RW Drive (G:) DW230ENCD ► File Edit View Tools Help Org
PD 0,25 ^ Rejestrator - Measurement ft Automation Explorer    X File Edit View Tools
PD 1 ^ Rejestrator - Measurement ft Automation Explorer    X File Edit View Tools Hel
22303 image014 (45) , JLjb, ► Computer ► DVD RW Drive (G:) DW230ENCD ► File Edit View Tools Help Org
image014 (45) , JLjb, ► Computer ► DVD RW Drive (G:) DW230ENCD ► File Edit View Tools Help Organize

więcej podobnych podstron