Skip to content

Commit

Permalink
refactor: Update requirements.txt with bleak dependency and add COBS …
Browse files Browse the repository at this point in the history
…module
  • Loading branch information
AIIrondev committed Jul 30, 2024
1 parent 108a9d9 commit e0338a9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
Binary file added Code/__pycache__/cobs.cpython-311.pyc
Binary file not shown.
Binary file added Code/__pycache__/crc.cpython-311.pyc
Binary file not shown.
Binary file added Code/__pycache__/messages.cpython-311.pyc
Binary file not shown.
11 changes: 10 additions & 1 deletion Code/compiler_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@

TMessage = TypeVar("TMessage", bound="BaseMessage")

# Variables
content_compile = []
last_function = "False"
file_name = ""
conf_file = "conf.json"
__version__ = "0.0.0"
llsp3_file_path = 'Projekt.llsp3'
extracted_folder = llsp3_file_path + 'projectbody.json'

SCAN_TIMEOUT = 10.0
SERVICE = "0000fd02-0000-1000-8000-00805f9b34fb"
RX_CHAR = "0000fd02-0001-1000-8000-00805f9b34fb"
Expand Down Expand Up @@ -542,7 +551,7 @@ def main_frame(self):
tk.CTkLabel(self.root, text="Ekips Programming Language Compiler", text_color="Blue", font=("Arial", 20)).pack(pady=10)
tk.CTkButton(self.root, text="select and compile file", command=self.select_file, corner_radius=32, width=wighf, height=heief).pack(pady=10)
tk.CTkButton(self.root, text="select and debug file", command=self.select_file_deb, corner_radius=32, width=wighf, height=heief).pack(pady=10)
tk.CTkButton(self.root, text="Upload to spike prime", command=self.run_upload(), corner_radius=32, width=wighf, height=heief).pack(pady=10)
tk.CTkButton(self.root, text="Upload to spike prime", command=lambda: self.run_upload(), corner_radius=32, width=wighf, height=heief).pack(pady=10)
tk.CTkButton(self.root, text="About", command=self.about, corner_radius=32, width=wighf, height=heief).pack(pady=10)
tk.CTkButton(self.root, text="GitHub", command=self.github, corner_radius=32, width=wighf, height=heief).pack(pady=10)
tk.CTkButton(self.root, text="Help", command=self.help_web, corner_radius=32, width=wighf, height=heief).pack(pady=10)
Expand Down
3 changes: 2 additions & 1 deletion Code/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
customtkinter
customtkinter
bleak

0 comments on commit e0338a9

Please sign in to comment.