diff --git a/examples/main.py b/examples/main.py new file mode 100644 index 0000000..cfc8c6b --- /dev/null +++ b/examples/main.py @@ -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()