The system counter is a 32 bit register which increases by 1 every clock cycle. WAITCNT specifies a value which the cog will halt until the system counter reaches. Therefore "wait until system counter = 1234.5678" doesn't make a heck of a lot of sense. Wait for 1.5 seconds makes more sense, in which case you would (float) multiply the value by CLKFREQ and use the (integer) result added to the current value of CNT.
Comments
How long do you want to wait?
Since the WAITCNT waits on the system counter and the counter works in integers, I would say it can't be done.
EDIT: well, Mike G is correct - you can always convert your decimal to integer and then use that, but you can't use decimal directly.
Bruce
I solved the problem that I was having, but I definitely appreciate your input.
Thanks Again
Bruce