touch screen
Dependencies: TSI
Dependents: test_emg Robot2 Robot2mooiemanier Robot2false ... more
Fork of TouchButton by
Diff: TouchButton.cpp
- Revision:
- 4:956d0575205b
- Parent:
- 3:6153458ce46b
--- a/TouchButton.cpp Tue Oct 28 21:27:14 2014 +0000 +++ b/TouchButton.cpp Thu Oct 30 14:05:12 2014 +0000 @@ -9,9 +9,9 @@ if(tsi.readPercentage()<0.01) return 0; - else if(tsi.readPercentage()>0.67) + else if(tsi.readPercentage()>0.75) return 3; - else if(tsi.readPercentage()>0.33) + else if(tsi.readPercentage()>0.25) return 2; else return 1;