Remapped pins to conform to PCB. Added DIP switches as inputs.