changed constructor signature to accept board version and set the correct pin assignments; reverted hard coded pin manipulation to arduino pin functions