so how should i try and fix the code?
i was thinking to maybe set the oldtime variable as a negative number at the end of the servo spinning, so it would take far longer for oldtime and millis to be greater than 8000.
I cant seem to get it to work myself and presume its something to do with the way that the variable is defined.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.