Something like that then?Code:if !flag then adcin 1, adcval 'read keys SELECT CASE adcval CASE < 10 : left=left+1:flag=1 'detect button presses CASE < 100 @ NOP CASE < 130 : right=right+1 :flag=1'detect button presses END SELECT endif
Ioannis
Something like that then?Code:if !flag then adcin 1, adcval 'read keys SELECT CASE adcval CASE < 10 : left=left+1:flag=1 'detect button presses CASE < 100 @ NOP CASE < 130 : right=right+1 :flag=1'detect button presses END SELECT endif
Ioannis
Last edited by Ioannis; - 7th January 2022 at 20:40.
Bookmarks