Added first example file
This commit is contained in:
parent
5e862c6336
commit
b9996c02cd
16
examples/main.py
Normal file
16
examples/main.py
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
from ProgramChooser import ProgramChooser
|
||||||
|
|
||||||
|
def micronec():
|
||||||
|
from micronEC import micronec
|
||||||
|
micronec.run()
|
||||||
|
def lcd_big_hello():
|
||||||
|
from excercise import lcd_big_hello
|
||||||
|
lcd_big_hello.run()
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
"micronEC": micronec,
|
||||||
|
"lcd_big_hello": lcd_big_hello
|
||||||
|
}
|
||||||
|
|
||||||
|
pc = ProgramChooser(programs, 7, 8, debug=True)
|
||||||
|
pc.run()
|
Reference in New Issue
Block a user