Hi Moritz
richtigZitat von RCO
![]()
ok, also würde folgendes Progi nicht laufen?Zitat von RCO
#loop
define Sensor1 port[1]
int taste;
If Sensor1=0 THEN GOSUB Taste1
#Taste1
define Led1 port[2]
Led1 = on
define Sensor2 port[3]
int taste;
If Sensor1=0 THEN GOSUB Taste2
#Taste2
define Led2 port[4]
Led2 = on
goto loop
Hmm, also an port[1] und port[2] sind ja 2 sensoren. Und was ist nun genau der Sinn von der sache, dass port[1]=port[2] wird?Zitat von RCO
Zitat von RCO
![]()
ok, thx für eure Mühe =D>
Lesezeichen