Ich weiß jetzt nicht wie du deine Schaltung geändert hast. Aber sieh dir mal das an:
http://www.mikrocontroller.net/artic...ogik_ansteuern