Kann mir denn niemand sagen was an meinem Unterprog nicht stimmt?
Hier is das richtige Unterprog "micro":
Code:
#micro
for GP=1 to 100
SAMPLE=MIC
if SAMPLE > HSAMPLE then HSAMPLE=SAMPLE
next
if HSAMPLE < 10 then gosub LED1ON else LED1OFF
if HSAMPLE >= 10 then return
HSAMPLE=0
goto micro
Ich weiß wirklich nicht was bei dem Unterprog "fahren" falsch ist.
Bitter helft mir.

Gruß dj