Fixed the use of the "initial" parameter in setup().

 This allows the initial state of the port to be set correctly when setting OUTPUT mode.

Tested by calling the function without the optional parameter to verify old behavior (port goes low when the function is called), and by calling with "initial" set to 1, and port stays high when switching from input (with pull up) to output.