Hallo

Müßte es nicht

if(digitalRead(12) == HIGH)

heißen?

http://starthardware.org/lektion-12-...und-if-abfrage

Gruß

Micha