From b9996c02cd84edad476f0ffdb8c1235acc2d8a3a Mon Sep 17 00:00:00 2001 From: BlueFox Date: Sat, 9 Mar 2024 18:56:28 +0000 Subject: [PATCH] Added first example file --- examples/main.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 examples/main.py 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()