File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments