We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b8b7bc commit 68fa03eCopy full SHA for 68fa03e
tom_tool.py
@@ -1,6 +1,7 @@
1
import esptool
2
import requests
3
import serial
4
+import sys
5
6
url = 'https://ota.cz20.hackz.one/campzone2020.bin'
7
@@ -32,13 +33,13 @@
32
33
print("""
34
Flash succes!
35
Further instructions:
-Initially 3 buttons light up, wait untill the whole display is dimly lit.
36
+Initially 3 buttons light up, wait until the whole display is dimly lit.
37
Press diagonal from top left to bottom right afterwhich the buttons will turn green.
38
Press the home button to reboot into you brand new badge!
39
""")
40
input("Press enter to exit")
- exit()
41
+ sys.exit()
42
else:
43
input("Download failed ;(, press enter to exit")
44
45
input("Badge not detected :(, press enter to exit")
0 commit comments