@Sauerbruch:
so???
Code:
$regfile = "m32def.dat"
$framesize = 32
$swstack = 32
$hwstack = 32
$crystal = 16000000
Config Portd.7 = Output
Config Portc.1 = Output
Config Portc.0 = Output
Config Pina.7 = Input
Taster Alias Pina.7
Rot Alias Portd.7
Gelb Alias Portc.1
Gruen Alias Portc.0
Porta.7 = 1
Rot = 1
Gelb = 1
Gruen = 1
Do
If Taster = 0 Then
Rot = 0
Waitms 50
Rot = 1
Waitms 50
Gelb = 0
Waitms 50
Gelb = 1
Waitms 50
Gruen = 0
Waitms 50
Gruen = 1
Waitms 50
Gelb = 0
Waitms 50
Gelb = 1
Waitms 50
Else
Rot = 0
Gelb = 0
Gruen = 0
End If
Loop
End
da passiert immer noch das gleiche...
ich habe im Grunde die Schaltung mit 3 Led's:
https://www.roboternetz.de/wissen/im...g_mitquarz.gif
Lesezeichen