Professional Documents
Culture Documents
PORTC := 52;
Delay_ms(20);
if PORTD = 124 then goto start;
if PORTD = 64 then goto start;
PORTC := 54;
Delay_ms(20);
PORTC := 50;
Delay_ms(20);
PORTC := 51;
Delay_ms(20);
PORTC := 49;
Delay_ms(20);
if PORTD = 124 then goto start;
if PORTD = 64 then goto start;
goto jos;
//_________________________________________
ods:
if PORTD = 124 then goto start;
if PORTD = 64 then goto start;
PORTC := 17;
Delay_ms(20);
PORTC := 51;
Delay_ms(20);
PORTC := 34;
Delay_ms(20);
PORTC := 102;
Delay_ms(20);
if PORTD = 124 then goto start;
if PORTD = 64 then goto start;
PORTC := 68;
Delay_ms(20);
PORTC := 204;
Delay_ms(20);
PORTC := 136;
Delay_ms(20);
PORTC := 153;
Delay_ms(20);
if PORTD = 124 then goto start;
if PORTD = 64 then goto start;
goto ods;
//_________________________________________
odj:
if PORTD = 124 then goto start;
if PORTD = 64 then goto start;
PORTC := 25;
Delay_ms(20);
PORTC := 56;
Delay_ms(20);
PORTC := 44;
Delay_ms(20);
PORTC := 100;
Delay_ms(20);
if PORTD = 124 then goto start;
if PORTD = 64 then goto start;
PORTC := 70;
Delay_ms(20);
PORTC := 194;
Delay_ms(20);
PORTC := 131;
Delay_ms(20);
PORTC := 145;
Delay_ms(20);
if PORTD = 124 then goto start;
if PORTD = 64 then goto start;
goto odj;
//_________________________________________
osj:
if PORTD = 124 then goto start;
if PORTD = 64 then goto start;
PORTC := 153;
Delay_ms(20);
PORTC := 136;
Delay_ms(20);
PORTC := 204;
Delay_ms(20);
PORTC := 68;
Delay_ms(20);
if PORTD = 124 then goto start;
if PORTD = 64 then goto start;
PORTC := 102;
Delay_ms(20);
PORTC := 34;
Delay_ms(20);
PORTC := 51;
Delay_ms(20);
PORTC := 17;
Delay_ms(20);
if PORTD = 124 then goto start;
if PORTD = 64 then goto start;
goto osj;
//_________________________________________
oss:
if PORTD = 124 then goto start;
if PORTD = 64 then goto start;
PORTC := 145;
Delay_ms(20);
PORTC := 131;
Delay_ms(20);
PORTC := 194;
Delay_ms(20);
PORTC := 70;
Delay_ms(20);
if PORTD = 124 then goto start;
if PORTD = 64 then goto start;
PORTC := 100;
Delay_ms(20);
PORTC := 44;
Delay_ms(20);
PORTC := 56;
Delay_ms(20);
PORTC := 25;
Delay_ms(20);
if PORTD = 124 then goto start;
if PORTD = 64 then goto start;
goto oss;
end.