digitalWrite bug in Arduino Mega 2560

I've not seen setMode before, only pinMode. Try that.

&