Hallo, schnell ne Frage...
Ich will innerhalb von einer Schleife von PORTB zum PORTC Springen.
Kann ich das so machen? ich habe das Problem das mir so das LED von Variante 8 und 9 gleichzeitig aufleuchten.
Code:;Variante 7 movlw B'00010000' btfss taster movwf PORTB call Warteschleife ;Variante 8 movlw B'01000000' btfss taster movwf PORTB call Warteschleife ;Variante 9 movlw B'00000001' btfss taster movwf PORTC call Warteschleife btfss taster ; Taster immernoch gedrückt? goto Schlaufe ; ja=Endlosschleife goto main ; nein= main







Zitieren

Lesezeichen