yeah, if the user just pushes always all the way left or all the way right to get some action then you don't have to worry about it
but your code does not deal with "in between values". the output will be either HIGH or LOW...
yeah, if the user just pushes always all the way left or all the way right to get some action then you don't have to worry about it
but your code does not deal with "in between values". the output will be either HIGH or LOW...