pinMode(but,INPUT_PULLUP); oder digitalWrite(but,1); ?