Example #1
0
                        relief="solid",
                        width=6,
                        command=Compile)
button_flash = Button(root,
                      text="Flash",
                      borderwidth=2,
                      fg="white",
                      bg="red",
                      relief="solid",
                      width=6,
                      command=program)

#fuse_check_button = Checkbutton(root, text="Fuse", variable = fuse, onvalue="yes", offvalue="no")
#fuse= "no"
button_fuse = Button(root, text="Fuse", relief=RAISED, command=fuse_on_off)
default_color = root.cget('bg')
button_fuse.config(activebackgroun=default_color)

entry_lfuse = Entry(root, width=4)
entry_hfuse = Entry(root, width=4)
button_read_fuse = Button(root, text="Read", command=read_fuse)
button_write_fuse = Button(root, text="Write", command=write_fuse)

file_path_entry = Entry(root, width=40)
file_path_entry.insert(0, 'File path')

chip = StringVar()
Chip_combobox = ttk.Combobox(root, textvariable=chip, values=chips, width=12)

programmer = StringVar()
programmer_combobox = ttk.Combobox(root,