Add info about touchscreen support

This commit is contained in:
phl0 2016-11-08 16:10:12 +01:00
parent 3aac82a23d
commit 81708858f8
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A

View file

@ -37,7 +37,11 @@ def getBaudrate(ser, fSize=None, checkModel=None):
print 'Connected with baudrate: ' + str(baudrate) + '...'
noConnect = False
status, unknown1, model, unknown2, version, serial, flashSize = r.strip("\xff\x00").split(',')
print 'Status: ' + status
print 'Status: ' + status.split(' ')[0]
if (status.split(' ')[1] == "1"):
print 'Touchscreen: yes'
else:
print 'Touchscreen: no'
print 'Model: ' + model
print 'Version: ' + version
print 'Serial: ' + serial