Added delays in sync to give computer a chance to read the pins