|
Bajed Novice
Joined: 15 Aug 2004 Posts: 33
|
Posted: Sat Apr 23, 2005 6:33 am
How would I make a 0.5 second alarm? |
I've tried *0.5 to make an alarm fire every half second, but this doesnt seem to work well, whereas *1 works fine for one second, what is the proper way to make an alarm fire every half second?
Thanks |
|
|
|
...{chris}... Novice
Joined: 11 Apr 2005 Posts: 31 Location: Yucaipa, Ca
|
Posted: Sat Apr 23, 2005 1:55 pm |
I dont think there is a way to do this. I've noticed before people saying #ALARM works only with positive, whole integers (1, 2, 3, 4, ...). The #WAIT command however can be used for fractions of a second. Remember that #WAIT works as 1000 = 1 second. So remember:
#wa 250 - 1/4 of a second, or .25
#wa 500 - 1/5 of a second, of .5
so on so forth.
Hope this helped a little.
-Chris |
|
_________________ My signature is better than yours. |
|
|
|
Theragil Apprentice
Joined: 13 Feb 2004 Posts: 157 Location: USA
|
Posted: Sat Apr 23, 2005 2:11 pm |
I've had #alarm {+0.5} work just fine, but I never tried with a * syntax.
|
|
|
|
atreus Beginner
Joined: 22 Mar 2005 Posts: 21
|
Posted: Mon May 02, 2005 10:09 am |
...{chris}... wrote: |
So remember:
#wa 250 - 1/4 of a second, or .25
#wa 500 - 1/5 of a second, of .5 |
Umm, I believe #wa 500 equals 1/2 of a second, not 1/5 (which would be 200ms or #wa 200).
Just a sidenote.
.atr. |
|
|
|
|
|