Move pinMode out of constructor to support MSP430 in Energia

Setting the pinMode outside of the setup() block within Energia causes the MSP430 to not boot