Open JackiePease opened 7 years ago
The easiest way would be to count the rotations of the motor, but it does slip now and again. How accurate does it need to be?
Otherwise a little magnet on the big cog? I think there was a spare(?) Hall Effect sensor in the workshop, that might be enough. It'd also need a screen and possibly a button or two.
For persistence we would need a second switch to separate control of power and operation. This would also stop the lag we have at the moment waiting for the Arduino to power.
The new code (as mentioned in #1) tracks the number of steps made in a variable called gStepCount
, so it would "just" need some sort of display adding to show that, and maybe a reset display to 0 button?
Having a row counter would make it easier to replicate successful hats