Reworked pins to allow for counter to be used

DIRCL is now output and see chart for DIRCH (used for gate0)