This is my first post, and I'm new to Raspberry and Python.
I have tried to search on this the subject, but haven't found a solution yet.
I have tried fiddling with the example from viewtopic.php?f=32&t=104140 without luck.
Therefor I'm asking here
Basically i have a switch button, which should define different combinations of pinsettings, by the number of pushes.
So i have to create a counter that counts number og pushs on the button, and that counter has to reset wehn the number of 6 exceeds.
I believe that the counter just have to start at 1, as there are no option at 0.
I also want a 7 segment one digit display to show the counter number.
i have created a flowchart, to simplify needs.
Does anyone have any clever thoughts to at totally newbie??
Thanks!