INPUT_PULLUP requires IDE 1.0.3 IIRC. It can be substituted by pinMode(pin, INPUT); digitalWrite(pin, HIGH);