ok i figured it out the problem is the "|=" sign i will test the wave and will post again if any problem
thanks.