Merge pull request #104 from ghostwheel/patch-1

More documentation for windows and on diagnosis mode
This commit is contained in:
HappyZ 2019-06-07 16:58:32 -05:00 committed by GitHub
commit 1b40c3ea55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -404,6 +404,11 @@ def diagnosis_mode(dpt):
dpt.info_print('3. Press POWER button once. Then light blinks yellow') dpt.info_print('3. Press POWER button once. Then light blinks yellow')
dpt.info_print('4. Release HOME button, a black square will show up') dpt.info_print('4. Release HOME button, a black square will show up')
dpt.info_print('5. Connect to computer') dpt.info_print('5. Connect to computer')
dpt.info_print('6. (Windows) After step 5 you can use device manager to find which COM port DPT is connected to. E.g. COM5')
dpt.info_print('Notice that if your DPT is in diagnosis mode, you can exit it by pressing the reset button.')
dpt.info_print('If this program exits, and your DPT is still in diagnosis mode,')
dpt.info_print('you get here again by starting with parameter --diagnosis')
dpt.info_print('It is also possible to interact with diagnosis mode with a serial terminal, such as putty.')
try: try:
resp = input('>>> Black square on the screen? [yes/no]: ') resp = input('>>> Black square on the screen? [yes/no]: ')
if resp == 'no': if resp == 'no':