27.02.2023, 06:39
+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.
Creating a step counter for the shutter
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
Creating a step counter for the shutter - by Nir70 - 11.02.2023, 18:22
RE: Creating a step counter for the shutter - by admin - 13.02.2023, 11:38
RE: Creating a step counter for the shutter - by Nir70 - 15.02.2023, 14:11
RE: Creating a step counter for the shutter - by admin - 16.02.2023, 07:38
RE: Creating a step counter for the shutter - by Nir70 - 19.02.2023, 21:21
RE: Creating a step counter for the shutter - by admin - 20.02.2023, 08:36
RE: Creating a step counter for the shutter - by Nir70 - 21.02.2023, 12:05
RE: Creating a step counter for the shutter - by Nir70 - 22.02.2023, 13:19
RE: Creating a step counter for the shutter - by admin - 22.02.2023, 13:55
RE: Creating a step counter for the shutter - by Nir70 - 27.02.2023, 02:52
RE: Creating a step counter for the shutter - by admin - 27.02.2023, 06:39
|