aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorAdam Rodriguez <adam.rodriguez@wsu.edu>2015-10-25 14:07:48 -0700
committerAdam Rodriguez <adam.rodriguez@wsu.edu>2015-10-25 14:07:48 -0700
commit6c7dbb2744aad3b44c3202b7c59d13779e0b29ca (patch)
treed946df150653ee7e8c60dab2d8c6aa08892dd152 /.gitignore
parent13e21d0a988dcde80b42efe00e98b75429b133e7 (diff)
downloadwaveshare-7inch-touchscreen-driver-6c7dbb2744aad3b44c3202b7c59d13779e0b29ca.tar.xz
waveshare-7inch-touchscreen-driver-6c7dbb2744aad3b44c3202b7c59d13779e0b29ca.zip
Update touch.py
Added a try, except: around f.read(25). This ensures that if it cant read from the device then it will exit the function then reconnect to the device. In my case whenever i plugged in any USB it would disconnect and change the driver name. this should fix that problem.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions