Skip to content

Commit a48ee3f

Browse files
committed
commit
1 parent 285c318 commit a48ee3f

1 file changed

Lines changed: 4 additions & 52 deletions

File tree

main.py

Lines changed: 4 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,5 @@
1-
import time
21

3-
4-
def runDebug():
5-
from projects.testing import debug
6-
debug.loop()
7-
8-
def runPicoDebug():
9-
from projects.testing import pico_debug
10-
pico_debug.loop()
11-
12-
13-
def runG():
14-
import projects.testing.ddgraphical as ddg
15-
ddg.run()
16-
time.sleep(10)
17-
18-
def runBleG():
19-
import projects.testing.ddgraphical as ddg
20-
ddg.runBle()
21-
time.sleep(10)
22-
23-
def runUartG():
24-
import projects.testing.ddgraphical as ddg
25-
ddg.runUart()
26-
time.sleep(10)
27-
28-
def runPicoG():
29-
import projects.testing.pico_ddgraphical as ddg
30-
ddg.run()
31-
32-
def runUart():
33-
import projects.testing.uart_test as ut
34-
ut.run()
35-
36-
37-
38-
def show():
39-
print("import main")
40-
print(". main.runDebug()")
41-
print(". main.runPicoDebug()")
42-
print(". main.runG()")
43-
print(". main.runBleG()")
44-
print(". main.runUartG()")
45-
print(". main.runPicoG()")
46-
print(". main.runUart()")
47-
48-
49-
if __name__ == "__main__":
50-
if True:
51-
show()
52-
else:
53-
runDebug()
2+
if True:
3+
import samples.graphical.main
4+
else:
5+
import samples.doodle.main

0 commit comments

Comments
 (0)