wires up period increment, decrement buttons