Hi,
Can someone give me a crbasic example on how to calculate the duration of current rain?
...it has to start the time when first tip happens, then a certain time after the last tip to stop the timer...
I dont have an example, but I think you should get what you need by using the "Timer" instruction, if you are using PulseCount to get the pulses from the raingauge.
Alternatively, if you want to know very accurately the time between edges, you can have a look at the "TimerIO" instruction. The CRBAsic Help Example gives some ideas. Of course, you will probably need combinations of TimerIO and Timer to get what you need in your case.
Thanks for the reply.
Im using PulseCount (Rain_mm,1,1,2,0,0,2,0)
Yes, i noticed those timer functions in the crbasic help, but my knowledge regarding crbasic isnt sufficient to use or combine those timer functions unfortunately...