changing pin mode for new led