This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Creating a step counter for the shutter
#11
+1 / -1 is the step direction. If false is received then current_step = current_step - 1, if true is received then current_step = current_step + 1. Then the current_step value is limited between 0 and 6.
Reply


Messages In This Thread
RE: Creating a step counter for the shutter - by admin - 27.02.2023, 06:39

Forum Jump: