Verstehe ich auch nicht so ganz.

da die Bit-Portabfrage low und high (-1) kennt, teste doch in der if-Abfrage 'mal mit "if not stports.get( then ..."

Gruß Dirk

p.S.: der coole Type da ist (acht).