also ich seh da keinen fehler

Jetzt is es ok. (außer die taster an portb sind nicht auf high aktiv).

grüße
thomas