L293D Enable2 Will not go low

PinMode() works just perfectly. There is a bug in your code.