DIGITAL PINS PROBLEM

If you haven't configured the pins, they're inputs without internal pull-up enabled. You need to set pinMode to make them outputs.

Korman