Modified Mark and Space functions to remove 100ns from the time (I'm
assuming this is due to the added delay to execute the GPIO function.