schnell?
einfach?
Code:
$regfile = "m32def.dat"
$crystal = 1000000
Config Portb = Output
Do
Portb.0 = 1
Waitms 35
Portb.0 = 0
Portb.1 = 1
Waitms 35
Portb.1 = 0
Portb.2 = 1
Waitms 35
Portb.2 = 0
Portb.3 = 1
Waitms 35
Portb.3 = 0
Portb.4 = 1
Waitms 35
Portb.4 = 0
Portb.5 = 1
Waitms 35
Portb.5 = 0
Waitms 35
Portb.4 = 1
Waitms 35
Portb.4 = 0
Portb.3 = 1
Waitms 35
Portb.3 = 0
Portb.2 = 1
Waitms 35
Portb.2 = 0
Portb.1 = 1
Waitms 35
Portb.1 = 0
Loop
einfacher gehts nimmer....
mfg knacki
ps: vielleicht liest du ja auch mal im forum, anstatt dauernd zu fragen, was 100e andere schon gefragt haben?
Lesezeichen