So here is what I have so far
but could use some help to clean it up
a=0 b=0 c=0 d=0 e=0 CLK=0
C2
GOTO 3
C3
d = CLK
WHILE UAI == 1
LOOP
WHILE UAI == 0
a=a+1
e = CLK - d
e = e/3 'to get 1000 miliseconds why do I need to divide by 3
PRINT(e,#13)
IF e > 400 GOTO4
ENDIF
WHILE UAI == 0
LOOP
LOOP
GOTO3
C4
PRINT(e," - ERROR TO SLOW ",#13)
'SPEEDUP VT VALUE
'G
'ON NEXT TRIGGER SLOW BACKDOWN
'ADD TO COUNT
GOTO3
END
I'll try to work with this some today. I haven't been getting notifications of posts, so let me know if you've made it past this issue already.
most of the questions I had sent over the last week or so I figured out by trial and effort of other forums. I figured it was a problem or you were on vacation
I will post my complete code for other to review or use and do have a few questions on the way I did it.
I used the CLK function but maybe I should have used encoder position
as I may need to go back and index each drop instead of monitoring each drop using time
Understood, Thanks.