|
Re: toggle switch
you have the basic idea, but you need a few more lines of code.
the way its written 'loops' will keep incrementing, eventually it will get to zero and your switches will be ignored for almost a second (till it gets to 30 again, 786mS later)
|