# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'atmega32_projct_config.ui'
##
## Created by: Qt User Interface Compiler version 5.15.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide2.QtCore import * 
from PySide2.QtGui import *
from PySide2.QtWidgets import *
import sys
from datetime import datetime
import xml.etree.ElementTree as ET

class Ui_Form(object):
    def setupUi(self, Form):
        if not Form.objectName():
            Form.setObjectName(u"Form")
        Form.setFixedSize(507, 377)
        Form.setWindowIcon(QIcon("avr.png"))
        font = QFont()
        font.setBold(True)
        font.setItalic(False)
        font.setUnderline(False)
        font.setWeight(75)
        font.setStrikeOut(False)
        font.setKerning(True)
        Form.setFont(font)
        Form.setMouseTracking(True)
        self.Main_tabWidget = QTabWidget(Form)
        self.Main_tabWidget.setObjectName(u"Main_tabWidget")
        self.Main_tabWidget.setGeometry(QRect(0, 0, 501, 371))
        self.MCAL_tab = QWidget()
        self.MCAL_tab.setObjectName(u"MCAL_tab")
        self.MCAL_tabWidget = QTabWidget(self.MCAL_tab)
        self.MCAL_tabWidget.setObjectName(u"MCAL_tabWidget")
        self.MCAL_tabWidget.setGeometry(QRect(0, 0, 491, 341))
        self.DIO_tab = QWidget()
        self.DIO_tab.setObjectName(u"DIO_tab")
        self.PIN_comboBox = QComboBox(self.DIO_tab)
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.addItem("")
        self.PIN_comboBox.setObjectName(u"PIN_comboBox")
        self.PIN_comboBox.setGeometry(QRect(330, 20, 101, 31))
        font1 = QFont()
        font1.setPointSize(11)
        font1.setBold(True)
        font1.setItalic(False)
        font1.setUnderline(False)
        font1.setWeight(75)
        font1.setStrikeOut(False)
        font1.setKerning(True)
        self.PIN_comboBox.setFont(font1)
        self.label = QLabel(self.DIO_tab)
        self.label.setObjectName(u"label")
        self.label.setGeometry(QRect(40, 20, 271, 31))
        palette = QPalette()
        brush = QBrush(QColor(0, 0, 0, 255))
        brush.setStyle(Qt.SolidPattern)
        palette.setBrush(QPalette.Active, QPalette.WindowText, brush)
        palette.setBrush(QPalette.Inactive, QPalette.WindowText, brush)
        brush1 = QBrush(QColor(120, 120, 120, 255))
        brush1.setStyle(Qt.SolidPattern)
        palette.setBrush(QPalette.Disabled, QPalette.WindowText, brush1)
        self.label.setPalette(palette)
        font2 = QFont()
        font2.setPointSize(16)
        font2.setBold(True)
        font2.setItalic(False)
        font2.setUnderline(False)
        font2.setWeight(75)
        font2.setStrikeOut(False)
        font2.setKerning(True)
        self.label.setFont(font2)
        self.label.setCursor(QCursor(Qt.ForbiddenCursor))
        self.PinsCards = QStackedWidget(self.DIO_tab)
        self.PinsCards.setObjectName(u"PinsCards")
        self.PinsCards.setGeometry(QRect(10, 60, 431, 181))
        self.page_0 = QWidget()
        self.page_0.setObjectName(u"page_0")
        self.PinNum_0 = QGroupBox(self.page_0)
        self.PinNum_0.setObjectName(u"PinNum_0")
        self.PinNum_0.setGeometry(QRect(0, 20, 431, 161))
        font3 = QFont()
        font3.setPointSize(10)
        font3.setBold(True)
        font3.setItalic(False)
        font3.setUnderline(False)
        font3.setWeight(75)
        font3.setStrikeOut(False)
        font3.setKerning(True)
        self.PinNum_0.setFont(font3)
        self.DirectionBox_0 = QGroupBox(self.PinNum_0)
        self.DirectionBox_0.setObjectName(u"DirectionBox_0")
        self.DirectionBox_0.setEnabled(True)
        self.DirectionBox_0.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_0 = QRadioButton(self.DirectionBox_0)
        self.InputRadioButton_0.setObjectName(u"InputRadioButton_0")
        self.InputRadioButton_0.setEnabled(True)
        self.InputRadioButton_0.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_0.setAcceptDrops(False)
        self.InputRadioButton_0.setChecked(True)
        self.OutputRadioButton_0 = QRadioButton(self.DirectionBox_0)
        self.OutputRadioButton_0.setObjectName(u"OutputRadioButton_0")
        self.OutputRadioButton_0.setEnabled(True)
        self.OutputRadioButton_0.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_0 = QGroupBox(self.PinNum_0)
        self.OutputLevelBox_0.setObjectName(u"OutputLevelBox_0")
        self.OutputLevelBox_0.setEnabled(False)
        self.OutputLevelBox_0.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_0 = QRadioButton(self.OutputLevelBox_0)
        self.HighRadioButton_0.setObjectName(u"HighRadioButton_0")
        self.HighRadioButton_0.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_0 = QRadioButton(self.OutputLevelBox_0)
        self.LowRadioButton_0.setObjectName(u"LowRadioButton_0")
        self.LowRadioButton_0.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_0.setChecked(True)
        self.InputLevelBox_0 = QGroupBox(self.PinNum_0)
        self.InputLevelBox_0.setObjectName(u"InputLevelBox_0")
        self.InputLevelBox_0.setEnabled(True)
        self.InputLevelBox_0.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_0 = QRadioButton(self.InputLevelBox_0)
        self.PullUpRadioButton_0.setObjectName(u"PullUpRadioButton_0")
        self.PullUpRadioButton_0.setEnabled(True)
        self.PullUpRadioButton_0.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_0.setChecked(True)
        self.HighImpButton_0 = QRadioButton(self.InputLevelBox_0)
        self.HighImpButton_0.setObjectName(u"HighImpButton_0")
        self.HighImpButton_0.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_0)
        self.page_1 = QWidget()
        self.page_1.setObjectName(u"page_1")
        self.PinNum_1 = QGroupBox(self.page_1)
        self.PinNum_1.setObjectName(u"PinNum_1")
        self.PinNum_1.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_1.setFont(font3)
        self.DirectionBox_1 = QGroupBox(self.PinNum_1)
        self.DirectionBox_1.setObjectName(u"DirectionBox_1")
        self.DirectionBox_1.setEnabled(True)
        self.DirectionBox_1.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_1 = QRadioButton(self.DirectionBox_1)
        self.InputRadioButton_1.setObjectName(u"InputRadioButton_1")
        self.InputRadioButton_1.setEnabled(True)
        self.InputRadioButton_1.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_1.setAcceptDrops(False)
        self.InputRadioButton_1.setChecked(True)
        self.OutputRadioButton_1 = QRadioButton(self.DirectionBox_1)
        self.OutputRadioButton_1.setObjectName(u"OutputRadioButton_1")
        self.OutputRadioButton_1.setEnabled(True)
        self.OutputRadioButton_1.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_1 = QGroupBox(self.PinNum_1)
        self.OutputLevelBox_1.setObjectName(u"OutputLevelBox_1")
        self.OutputLevelBox_1.setEnabled(False)
        self.OutputLevelBox_1.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_1 = QRadioButton(self.OutputLevelBox_1)
        self.HighRadioButton_1.setObjectName(u"HighRadioButton_1")
        self.HighRadioButton_1.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_1 = QRadioButton(self.OutputLevelBox_1)
        self.LowRadioButton_1.setObjectName(u"LowRadioButton_1")
        self.LowRadioButton_1.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_1.setChecked(True)
        self.InputLevelBox_1 = QGroupBox(self.PinNum_1)
        self.InputLevelBox_1.setObjectName(u"InputLevelBox_1")
        self.InputLevelBox_1.setEnabled(True)
        self.InputLevelBox_1.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_1 = QRadioButton(self.InputLevelBox_1)
        self.PullUpRadioButton_1.setObjectName(u"PullUpRadioButton_1")
        self.PullUpRadioButton_1.setEnabled(True)
        self.PullUpRadioButton_1.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_1.setChecked(True)
        self.HighImpButton_1 = QRadioButton(self.InputLevelBox_1)
        self.HighImpButton_1.setObjectName(u"HighImpButton_1")
        self.HighImpButton_1.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_1)
        self.page_2 = QWidget()
        self.page_2.setObjectName(u"page_2")
        self.PinNum_2 = QGroupBox(self.page_2)
        self.PinNum_2.setObjectName(u"PinNum_2")
        self.PinNum_2.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_2.setFont(font3)
        self.DirectionBox_2 = QGroupBox(self.PinNum_2)
        self.DirectionBox_2.setObjectName(u"DirectionBox_2")
        self.DirectionBox_2.setEnabled(True)
        self.DirectionBox_2.setGeometry(QRect(20, 30, 141, 121))
        self.DirectionBox_2.setFont(font3)
        self.InputRadioButton_2 = QRadioButton(self.DirectionBox_2)
        self.InputRadioButton_2.setObjectName(u"InputRadioButton_2")
        self.InputRadioButton_2.setEnabled(True)
        self.InputRadioButton_2.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_2.setAcceptDrops(False)
        self.InputRadioButton_2.setChecked(True)
        self.OutputRadioButton_2 = QRadioButton(self.DirectionBox_2)
        self.OutputRadioButton_2.setObjectName(u"OutputRadioButton_2")
        self.OutputRadioButton_2.setEnabled(True)
        self.OutputRadioButton_2.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_2 = QGroupBox(self.PinNum_2)
        self.OutputLevelBox_2.setObjectName(u"OutputLevelBox_2")
        self.OutputLevelBox_2.setEnabled(False)
        self.OutputLevelBox_2.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_2 = QRadioButton(self.OutputLevelBox_2)
        self.HighRadioButton_2.setObjectName(u"HighRadioButton_2")
        self.HighRadioButton_2.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton2 = QRadioButton(self.OutputLevelBox_2)
        self.LowRadioButton2.setObjectName(u"LowRadioButton2")
        self.LowRadioButton2.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton2.setChecked(True)
        self.InputLevelBox_2 = QGroupBox(self.PinNum_2)
        self.InputLevelBox_2.setObjectName(u"InputLevelBox_2")
        self.InputLevelBox_2.setEnabled(True)
        self.InputLevelBox_2.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_2 = QRadioButton(self.InputLevelBox_2)
        self.PullUpRadioButton_2.setObjectName(u"PullUpRadioButton_2")
        self.PullUpRadioButton_2.setEnabled(True)
        self.PullUpRadioButton_2.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_2.setChecked(True)
        self.HighImpButton_2 = QRadioButton(self.InputLevelBox_2)
        self.HighImpButton_2.setObjectName(u"HighImpButton_2")
        self.HighImpButton_2.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_2)
        self.page_3 = QWidget()
        self.page_3.setObjectName(u"page_3")
        self.PinNum_3 = QGroupBox(self.page_3)
        self.PinNum_3.setObjectName(u"PinNum_3")
        self.PinNum_3.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_3.setFont(font3)
        self.DirectionBox_3 = QGroupBox(self.PinNum_3)
        self.DirectionBox_3.setObjectName(u"DirectionBox_3")
        self.DirectionBox_3.setEnabled(True)
        self.DirectionBox_3.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_3 = QRadioButton(self.DirectionBox_3)
        self.InputRadioButton_3.setObjectName(u"InputRadioButton_3")
        self.InputRadioButton_3.setEnabled(True)
        self.InputRadioButton_3.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_3.setAcceptDrops(False)
        self.InputRadioButton_3.setChecked(True)
        self.OutputRadioButton_3 = QRadioButton(self.DirectionBox_3)
        self.OutputRadioButton_3.setObjectName(u"OutputRadioButton_3")
        self.OutputRadioButton_3.setEnabled(True)
        self.OutputRadioButton_3.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_3 = QGroupBox(self.PinNum_3)
        self.OutputLevelBox_3.setObjectName(u"OutputLevelBox_3")
        self.OutputLevelBox_3.setEnabled(False)
        self.OutputLevelBox_3.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_3 = QRadioButton(self.OutputLevelBox_3)
        self.HighRadioButton_3.setObjectName(u"HighRadioButton_3")
        self.HighRadioButton_3.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_3 = QRadioButton(self.OutputLevelBox_3)
        self.LowRadioButton_3.setObjectName(u"LowRadioButton_3")
        self.LowRadioButton_3.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_3.setChecked(True)
        self.InputLevelBox_3 = QGroupBox(self.PinNum_3)
        self.InputLevelBox_3.setObjectName(u"InputLevelBox_3")
        self.InputLevelBox_3.setEnabled(True)
        self.InputLevelBox_3.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_3 = QRadioButton(self.InputLevelBox_3)
        self.PullUpRadioButton_3.setObjectName(u"PullUpRadioButton_3")
        self.PullUpRadioButton_3.setEnabled(True)
        self.PullUpRadioButton_3.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_3.setChecked(True)
        self.HighImpButton_3 = QRadioButton(self.InputLevelBox_3)
        self.HighImpButton_3.setObjectName(u"HighImpButton_3")
        self.HighImpButton_3.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_3)
        self.page_4 = QWidget()
        self.page_4.setObjectName(u"page_4")
        self.PinNum_4 = QGroupBox(self.page_4)
        self.PinNum_4.setObjectName(u"PinNum_4")
        self.PinNum_4.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_4.setFont(font3)
        self.DirectionBox_4 = QGroupBox(self.PinNum_4)
        self.DirectionBox_4.setObjectName(u"DirectionBox_4")
        self.DirectionBox_4.setEnabled(True)
        self.DirectionBox_4.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_4 = QRadioButton(self.DirectionBox_4)
        self.InputRadioButton_4.setObjectName(u"InputRadioButton_4")
        self.InputRadioButton_4.setEnabled(True)
        self.InputRadioButton_4.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_4.setAcceptDrops(False)
        self.InputRadioButton_4.setChecked(True)
        self.OutputRadioButton_4 = QRadioButton(self.DirectionBox_4)
        self.OutputRadioButton_4.setObjectName(u"OutputRadioButton_4")
        self.OutputRadioButton_4.setEnabled(True)
        self.OutputRadioButton_4.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_4 = QGroupBox(self.PinNum_4)
        self.OutputLevelBox_4.setObjectName(u"OutputLevelBox_4")
        self.OutputLevelBox_4.setEnabled(False)
        self.OutputLevelBox_4.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_4 = QRadioButton(self.OutputLevelBox_4)
        self.HighRadioButton_4.setObjectName(u"HighRadioButton_4")
        self.HighRadioButton_4.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_4 = QRadioButton(self.OutputLevelBox_4)
        self.LowRadioButton_4.setObjectName(u"LowRadioButton_4")
        self.LowRadioButton_4.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_4.setChecked(True)
        self.InputLevelBox_4 = QGroupBox(self.PinNum_4)
        self.InputLevelBox_4.setObjectName(u"InputLevelBox_4")
        self.InputLevelBox_4.setEnabled(True)
        self.InputLevelBox_4.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_4 = QRadioButton(self.InputLevelBox_4)
        self.PullUpRadioButton_4.setObjectName(u"PullUpRadioButton_4")
        self.PullUpRadioButton_4.setEnabled(True)
        self.PullUpRadioButton_4.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_4.setChecked(True)
        self.HighImpButton_4 = QRadioButton(self.InputLevelBox_4)
        self.HighImpButton_4.setObjectName(u"HighImpButton_4")
        self.HighImpButton_4.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_4)
        self.page_5 = QWidget()
        self.page_5.setObjectName(u"page_5")
        self.PinNum_5 = QGroupBox(self.page_5)
        self.PinNum_5.setObjectName(u"PinNum_5")
        self.PinNum_5.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_5.setFont(font3)
        self.DirectionBox_5 = QGroupBox(self.PinNum_5)
        self.DirectionBox_5.setObjectName(u"DirectionBox_5")
        self.DirectionBox_5.setEnabled(True)
        self.DirectionBox_5.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_5 = QRadioButton(self.DirectionBox_5)
        self.InputRadioButton_5.setObjectName(u"InputRadioButton_5")
        self.InputRadioButton_5.setEnabled(True)
        self.InputRadioButton_5.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_5.setAcceptDrops(False)
        self.InputRadioButton_5.setChecked(True)
        self.OutputRadioButton_5 = QRadioButton(self.DirectionBox_5)
        self.OutputRadioButton_5.setObjectName(u"OutputRadioButton_5")
        self.OutputRadioButton_5.setEnabled(True)
        self.OutputRadioButton_5.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_5 = QGroupBox(self.PinNum_5)
        self.OutputLevelBox_5.setObjectName(u"OutputLevelBox_5")
        self.OutputLevelBox_5.setEnabled(False)
        self.OutputLevelBox_5.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_5 = QRadioButton(self.OutputLevelBox_5)
        self.HighRadioButton_5.setObjectName(u"HighRadioButton_5")
        self.HighRadioButton_5.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_5 = QRadioButton(self.OutputLevelBox_5)
        self.LowRadioButton_5.setObjectName(u"LowRadioButton_5")
        self.LowRadioButton_5.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_5.setChecked(True)
        self.InputLevelBox_5 = QGroupBox(self.PinNum_5)
        self.InputLevelBox_5.setObjectName(u"InputLevelBox_5")
        self.InputLevelBox_5.setEnabled(True)
        self.InputLevelBox_5.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_5 = QRadioButton(self.InputLevelBox_5)
        self.PullUpRadioButton_5.setObjectName(u"PullUpRadioButton_5")
        self.PullUpRadioButton_5.setEnabled(True)
        self.PullUpRadioButton_5.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_5.setChecked(True)
        self.HighImpButton_5 = QRadioButton(self.InputLevelBox_5)
        self.HighImpButton_5.setObjectName(u"HighImpButton_5")
        self.HighImpButton_5.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_5)
        self.page_6 = QWidget()
        self.page_6.setObjectName(u"page_6")
        self.PinNum_6 = QGroupBox(self.page_6)
        self.PinNum_6.setObjectName(u"PinNum_6")
        self.PinNum_6.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_6.setFont(font3)
        self.DirectionBox_6 = QGroupBox(self.PinNum_6)
        self.DirectionBox_6.setObjectName(u"DirectionBox_6")
        self.DirectionBox_6.setEnabled(True)
        self.DirectionBox_6.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_6 = QRadioButton(self.DirectionBox_6)
        self.InputRadioButton_6.setObjectName(u"InputRadioButton_6")
        self.InputRadioButton_6.setEnabled(True)
        self.InputRadioButton_6.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_6.setAcceptDrops(False)
        self.InputRadioButton_6.setChecked(True)
        self.OutputRadioButton_6 = QRadioButton(self.DirectionBox_6)
        self.OutputRadioButton_6.setObjectName(u"OutputRadioButton_6")
        self.OutputRadioButton_6.setEnabled(True)
        self.OutputRadioButton_6.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_6 = QGroupBox(self.PinNum_6)
        self.OutputLevelBox_6.setObjectName(u"OutputLevelBox_6")
        self.OutputLevelBox_6.setEnabled(False)
        self.OutputLevelBox_6.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_6 = QRadioButton(self.OutputLevelBox_6)
        self.HighRadioButton_6.setObjectName(u"HighRadioButton_6")
        self.HighRadioButton_6.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_6 = QRadioButton(self.OutputLevelBox_6)
        self.LowRadioButton_6.setObjectName(u"LowRadioButton_6")
        self.LowRadioButton_6.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_6.setChecked(True)
        self.InputLevelBox_6 = QGroupBox(self.PinNum_6)
        self.InputLevelBox_6.setObjectName(u"InputLevelBox_6")
        self.InputLevelBox_6.setEnabled(True)
        self.InputLevelBox_6.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_6 = QRadioButton(self.InputLevelBox_6)
        self.PullUpRadioButton_6.setObjectName(u"PullUpRadioButton_6")
        self.PullUpRadioButton_6.setEnabled(True)
        self.PullUpRadioButton_6.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_6.setChecked(True)
        self.HighImpButton_6 = QRadioButton(self.InputLevelBox_6)
        self.HighImpButton_6.setObjectName(u"HighImpButton_6")
        self.HighImpButton_6.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_6)
        self.page_7 = QWidget()
        self.page_7.setObjectName(u"page_7")
        self.PinNum_7 = QGroupBox(self.page_7)
        self.PinNum_7.setObjectName(u"PinNum_7")
        self.PinNum_7.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_7.setFont(font3)
        self.DirectionBox_7 = QGroupBox(self.PinNum_7)
        self.DirectionBox_7.setObjectName(u"DirectionBox_7")
        self.DirectionBox_7.setEnabled(True)
        self.DirectionBox_7.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_7 = QRadioButton(self.DirectionBox_7)
        self.InputRadioButton_7.setObjectName(u"InputRadioButton_7")
        self.InputRadioButton_7.setEnabled(True)
        self.InputRadioButton_7.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_7.setAcceptDrops(False)
        self.InputRadioButton_7.setChecked(True)
        self.OutputRadioButton_7 = QRadioButton(self.DirectionBox_7)
        self.OutputRadioButton_7.setObjectName(u"OutputRadioButton_7")
        self.OutputRadioButton_7.setEnabled(True)
        self.OutputRadioButton_7.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_7 = QGroupBox(self.PinNum_7)
        self.OutputLevelBox_7.setObjectName(u"OutputLevelBox_7")
        self.OutputLevelBox_7.setEnabled(False)
        self.OutputLevelBox_7.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_7 = QRadioButton(self.OutputLevelBox_7)
        self.HighRadioButton_7.setObjectName(u"HighRadioButton_7")
        self.HighRadioButton_7.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_7 = QRadioButton(self.OutputLevelBox_7)
        self.LowRadioButton_7.setObjectName(u"LowRadioButton_7")
        self.LowRadioButton_7.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_7.setChecked(True)
        self.InputLevelBox_7 = QGroupBox(self.PinNum_7)
        self.InputLevelBox_7.setObjectName(u"InputLevelBox_7")
        self.InputLevelBox_7.setEnabled(True)
        self.InputLevelBox_7.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_7 = QRadioButton(self.InputLevelBox_7)
        self.PullUpRadioButton_7.setObjectName(u"PullUpRadioButton_7")
        self.PullUpRadioButton_7.setEnabled(True)
        self.PullUpRadioButton_7.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_7.setChecked(True)
        self.HighImpButton_7 = QRadioButton(self.InputLevelBox_7)
        self.HighImpButton_7.setObjectName(u"HighImpButton_7")
        self.HighImpButton_7.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_7)
        self.page_8 = QWidget()
        self.page_8.setObjectName(u"page_8")
        self.PinNum_8 = QGroupBox(self.page_8)
        self.PinNum_8.setObjectName(u"PinNum_8")
        self.PinNum_8.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_8.setFont(font3)
        self.DirectionBox_8 = QGroupBox(self.PinNum_8)
        self.DirectionBox_8.setObjectName(u"DirectionBox_8")
        self.DirectionBox_8.setEnabled(True)
        self.DirectionBox_8.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_8 = QRadioButton(self.DirectionBox_8)
        self.InputRadioButton_8.setObjectName(u"InputRadioButton_8")
        self.InputRadioButton_8.setEnabled(True)
        self.InputRadioButton_8.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_8.setAcceptDrops(False)
        self.InputRadioButton_8.setChecked(True)
        self.OutputRadioButton_8 = QRadioButton(self.DirectionBox_8)
        self.OutputRadioButton_8.setObjectName(u"OutputRadioButton_8")
        self.OutputRadioButton_8.setEnabled(True)
        self.OutputRadioButton_8.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_8 = QGroupBox(self.PinNum_8)
        self.OutputLevelBox_8.setObjectName(u"OutputLevelBox_8")
        self.OutputLevelBox_8.setEnabled(False)
        self.OutputLevelBox_8.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_8 = QRadioButton(self.OutputLevelBox_8)
        self.HighRadioButton_8.setObjectName(u"HighRadioButton_8")
        self.HighRadioButton_8.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_8 = QRadioButton(self.OutputLevelBox_8)
        self.LowRadioButton_8.setObjectName(u"LowRadioButton_8")
        self.LowRadioButton_8.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_8.setChecked(True)
        self.InputLevelBox_8 = QGroupBox(self.PinNum_8)
        self.InputLevelBox_8.setObjectName(u"InputLevelBox_8")
        self.InputLevelBox_8.setEnabled(True)
        self.InputLevelBox_8.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_8 = QRadioButton(self.InputLevelBox_8)
        self.PullUpRadioButton_8.setObjectName(u"PullUpRadioButton_8")
        self.PullUpRadioButton_8.setEnabled(True)
        self.PullUpRadioButton_8.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_8.setChecked(True)
        self.HighImpButton_8 = QRadioButton(self.InputLevelBox_8)
        self.HighImpButton_8.setObjectName(u"HighImpButton_8")
        self.HighImpButton_8.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_8)
        self.page_9 = QWidget()
        self.page_9.setObjectName(u"page_9")
        self.PinNum_9 = QGroupBox(self.page_9)
        self.PinNum_9.setObjectName(u"PinNum_9")
        self.PinNum_9.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_9.setFont(font3)
        self.DirectionBox_9 = QGroupBox(self.PinNum_9)
        self.DirectionBox_9.setObjectName(u"DirectionBox_9")
        self.DirectionBox_9.setEnabled(True)
        self.DirectionBox_9.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_9 = QRadioButton(self.DirectionBox_9)
        self.InputRadioButton_9.setObjectName(u"InputRadioButton_9")
        self.InputRadioButton_9.setEnabled(True)
        self.InputRadioButton_9.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_9.setAcceptDrops(False)
        self.InputRadioButton_9.setChecked(True)
        self.OutputRadioButton_9 = QRadioButton(self.DirectionBox_9)
        self.OutputRadioButton_9.setObjectName(u"OutputRadioButton_9")
        self.OutputRadioButton_9.setEnabled(True)
        self.OutputRadioButton_9.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_9 = QGroupBox(self.PinNum_9)
        self.OutputLevelBox_9.setObjectName(u"OutputLevelBox_9")
        self.OutputLevelBox_9.setEnabled(False)
        self.OutputLevelBox_9.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_9 = QRadioButton(self.OutputLevelBox_9)
        self.HighRadioButton_9.setObjectName(u"HighRadioButton_9")
        self.HighRadioButton_9.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_9 = QRadioButton(self.OutputLevelBox_9)
        self.LowRadioButton_9.setObjectName(u"LowRadioButton_9")
        self.LowRadioButton_9.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_9.setChecked(True)
        self.InputLevelBox_9 = QGroupBox(self.PinNum_9)
        self.InputLevelBox_9.setObjectName(u"InputLevelBox_9")
        self.InputLevelBox_9.setEnabled(True)
        self.InputLevelBox_9.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_9 = QRadioButton(self.InputLevelBox_9)
        self.PullUpRadioButton_9.setObjectName(u"PullUpRadioButton_9")
        self.PullUpRadioButton_9.setEnabled(True)
        self.PullUpRadioButton_9.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_9.setChecked(True)
        self.HighImpButton_9 = QRadioButton(self.InputLevelBox_9)
        self.HighImpButton_9.setObjectName(u"HighImpButton_9")
        self.HighImpButton_9.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_9)
        self.page_10 = QWidget()
        self.page_10.setObjectName(u"page_10")
        self.PinNum_10 = QGroupBox(self.page_10)
        self.PinNum_10.setObjectName(u"PinNum_10")
        self.PinNum_10.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_10.setFont(font3)
        self.DirectionBox_10 = QGroupBox(self.PinNum_10)
        self.DirectionBox_10.setObjectName(u"DirectionBox_10")
        self.DirectionBox_10.setEnabled(True)
        self.DirectionBox_10.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_10 = QRadioButton(self.DirectionBox_10)
        self.InputRadioButton_10.setObjectName(u"InputRadioButton_10")
        self.InputRadioButton_10.setEnabled(True)
        self.InputRadioButton_10.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_10.setAcceptDrops(False)
        self.InputRadioButton_10.setChecked(True)
        self.OutputRadioButton_10 = QRadioButton(self.DirectionBox_10)
        self.OutputRadioButton_10.setObjectName(u"OutputRadioButton_10")
        self.OutputRadioButton_10.setEnabled(True)
        self.OutputRadioButton_10.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_10 = QGroupBox(self.PinNum_10)
        self.OutputLevelBox_10.setObjectName(u"OutputLevelBox_10")
        self.OutputLevelBox_10.setEnabled(False)
        self.OutputLevelBox_10.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_10 = QRadioButton(self.OutputLevelBox_10)
        self.HighRadioButton_10.setObjectName(u"HighRadioButton_10")
        self.HighRadioButton_10.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_10 = QRadioButton(self.OutputLevelBox_10)
        self.LowRadioButton_10.setObjectName(u"LowRadioButton_10")
        self.LowRadioButton_10.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_10.setChecked(True)
        self.InputLevelBox_10 = QGroupBox(self.PinNum_10)
        self.InputLevelBox_10.setObjectName(u"InputLevelBox_10")
        self.InputLevelBox_10.setEnabled(True)
        self.InputLevelBox_10.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_10 = QRadioButton(self.InputLevelBox_10)
        self.PullUpRadioButton_10.setObjectName(u"PullUpRadioButton_10")
        self.PullUpRadioButton_10.setEnabled(True)
        self.PullUpRadioButton_10.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_10.setChecked(True)
        self.HighImpButton_10 = QRadioButton(self.InputLevelBox_10)
        self.HighImpButton_10.setObjectName(u"HighImpButton_10")
        self.HighImpButton_10.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_10)
        self.page_11 = QWidget()
        self.page_11.setObjectName(u"page_11")
        self.PinNum_11 = QGroupBox(self.page_11)
        self.PinNum_11.setObjectName(u"PinNum_11")
        self.PinNum_11.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_11.setFont(font3)
        self.DirectionBox_11 = QGroupBox(self.PinNum_11)
        self.DirectionBox_11.setObjectName(u"DirectionBox_11")
        self.DirectionBox_11.setEnabled(True)
        self.DirectionBox_11.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_11 = QRadioButton(self.DirectionBox_11)
        self.InputRadioButton_11.setObjectName(u"InputRadioButton_11")
        self.InputRadioButton_11.setEnabled(True)
        self.InputRadioButton_11.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_11.setAcceptDrops(False)
        self.InputRadioButton_11.setChecked(True)
        self.OutputRadioButton_11 = QRadioButton(self.DirectionBox_11)
        self.OutputRadioButton_11.setObjectName(u"OutputRadioButton_11")
        self.OutputRadioButton_11.setEnabled(True)
        self.OutputRadioButton_11.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_11 = QGroupBox(self.PinNum_11)
        self.OutputLevelBox_11.setObjectName(u"OutputLevelBox_11")
        self.OutputLevelBox_11.setEnabled(False)
        self.OutputLevelBox_11.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_11 = QRadioButton(self.OutputLevelBox_11)
        self.HighRadioButton_11.setObjectName(u"HighRadioButton_11")
        self.HighRadioButton_11.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_11 = QRadioButton(self.OutputLevelBox_11)
        self.LowRadioButton_11.setObjectName(u"LowRadioButton_11")
        self.LowRadioButton_11.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_11.setChecked(True)
        self.InputLevelBox_11 = QGroupBox(self.PinNum_11)
        self.InputLevelBox_11.setObjectName(u"InputLevelBox_11")
        self.InputLevelBox_11.setEnabled(True)
        self.InputLevelBox_11.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_11 = QRadioButton(self.InputLevelBox_11)
        self.PullUpRadioButton_11.setObjectName(u"PullUpRadioButton_11")
        self.PullUpRadioButton_11.setEnabled(True)
        self.PullUpRadioButton_11.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_11.setChecked(True)
        self.HighImpButton_11 = QRadioButton(self.InputLevelBox_11)
        self.HighImpButton_11.setObjectName(u"HighImpButton_11")
        self.HighImpButton_11.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_11)
        self.page_12 = QWidget()
        self.page_12.setObjectName(u"page_12")
        self.PinNum_12 = QGroupBox(self.page_12)
        self.PinNum_12.setObjectName(u"PinNum_12")
        self.PinNum_12.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_12.setFont(font3)
        self.DirectionBox_12 = QGroupBox(self.PinNum_12)
        self.DirectionBox_12.setObjectName(u"DirectionBox_12")
        self.DirectionBox_12.setEnabled(True)
        self.DirectionBox_12.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_12 = QRadioButton(self.DirectionBox_12)
        self.InputRadioButton_12.setObjectName(u"InputRadioButton_12")
        self.InputRadioButton_12.setEnabled(True)
        self.InputRadioButton_12.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_12.setAcceptDrops(False)
        self.InputRadioButton_12.setChecked(True)
        self.OutputRadioButton_12 = QRadioButton(self.DirectionBox_12)
        self.OutputRadioButton_12.setObjectName(u"OutputRadioButton_12")
        self.OutputRadioButton_12.setEnabled(True)
        self.OutputRadioButton_12.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_12 = QGroupBox(self.PinNum_12)
        self.OutputLevelBox_12.setObjectName(u"OutputLevelBox_12")
        self.OutputLevelBox_12.setEnabled(False)
        self.OutputLevelBox_12.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_12 = QRadioButton(self.OutputLevelBox_12)
        self.HighRadioButton_12.setObjectName(u"HighRadioButton_12")
        self.HighRadioButton_12.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_12 = QRadioButton(self.OutputLevelBox_12)
        self.LowRadioButton_12.setObjectName(u"LowRadioButton_12")
        self.LowRadioButton_12.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_12.setChecked(True)
        self.InputLevelBox_12 = QGroupBox(self.PinNum_12)
        self.InputLevelBox_12.setObjectName(u"InputLevelBox_12")
        self.InputLevelBox_12.setEnabled(True)
        self.InputLevelBox_12.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_12 = QRadioButton(self.InputLevelBox_12)
        self.PullUpRadioButton_12.setObjectName(u"PullUpRadioButton_12")
        self.PullUpRadioButton_12.setEnabled(True)
        self.PullUpRadioButton_12.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_12.setChecked(True)
        self.HighImpButton_12 = QRadioButton(self.InputLevelBox_12)
        self.HighImpButton_12.setObjectName(u"HighImpButton_12")
        self.HighImpButton_12.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_12)
        self.page_13 = QWidget()
        self.page_13.setObjectName(u"page_13")
        self.PinNum_13 = QGroupBox(self.page_13)
        self.PinNum_13.setObjectName(u"PinNum_13")
        self.PinNum_13.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_13.setFont(font3)
        self.DirectionBox_13 = QGroupBox(self.PinNum_13)
        self.DirectionBox_13.setObjectName(u"DirectionBox_13")
        self.DirectionBox_13.setEnabled(True)
        self.DirectionBox_13.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_13 = QRadioButton(self.DirectionBox_13)
        self.InputRadioButton_13.setObjectName(u"InputRadioButton_13")
        self.InputRadioButton_13.setEnabled(True)
        self.InputRadioButton_13.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_13.setAcceptDrops(False)
        self.InputRadioButton_13.setChecked(True)
        self.OutputRadioButton_13 = QRadioButton(self.DirectionBox_13)
        self.OutputRadioButton_13.setObjectName(u"OutputRadioButton_13")
        self.OutputRadioButton_13.setEnabled(True)
        self.OutputRadioButton_13.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_13 = QGroupBox(self.PinNum_13)
        self.OutputLevelBox_13.setObjectName(u"OutputLevelBox_13")
        self.OutputLevelBox_13.setEnabled(False)
        self.OutputLevelBox_13.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_13 = QRadioButton(self.OutputLevelBox_13)
        self.HighRadioButton_13.setObjectName(u"HighRadioButton_13")
        self.HighRadioButton_13.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_13 = QRadioButton(self.OutputLevelBox_13)
        self.LowRadioButton_13.setObjectName(u"LowRadioButton_13")
        self.LowRadioButton_13.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_13.setChecked(True)
        self.InputLevelBox_13 = QGroupBox(self.PinNum_13)
        self.InputLevelBox_13.setObjectName(u"InputLevelBox_13")
        self.InputLevelBox_13.setEnabled(True)
        self.InputLevelBox_13.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_13 = QRadioButton(self.InputLevelBox_13)
        self.PullUpRadioButton_13.setObjectName(u"PullUpRadioButton_13")
        self.PullUpRadioButton_13.setEnabled(True)
        self.PullUpRadioButton_13.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_13.setChecked(True)
        self.HighImpButton_13 = QRadioButton(self.InputLevelBox_13)
        self.HighImpButton_13.setObjectName(u"HighImpButton_13")
        self.HighImpButton_13.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_13)
        self.page_14 = QWidget()
        self.page_14.setObjectName(u"page_14")
        self.PinNum_14 = QGroupBox(self.page_14)
        self.PinNum_14.setObjectName(u"PinNum_14")
        self.PinNum_14.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_14.setFont(font3)
        self.DirectionBox_14 = QGroupBox(self.PinNum_14)
        self.DirectionBox_14.setObjectName(u"DirectionBox_14")
        self.DirectionBox_14.setEnabled(True)
        self.DirectionBox_14.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_14 = QRadioButton(self.DirectionBox_14)
        self.InputRadioButton_14.setObjectName(u"InputRadioButton_14")
        self.InputRadioButton_14.setEnabled(True)
        self.InputRadioButton_14.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_14.setAcceptDrops(False)
        self.InputRadioButton_14.setChecked(True)
        self.OutputRadioButton_14 = QRadioButton(self.DirectionBox_14)
        self.OutputRadioButton_14.setObjectName(u"OutputRadioButton_14")
        self.OutputRadioButton_14.setEnabled(True)
        self.OutputRadioButton_14.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_14 = QGroupBox(self.PinNum_14)
        self.OutputLevelBox_14.setObjectName(u"OutputLevelBox_14")
        self.OutputLevelBox_14.setEnabled(False)
        self.OutputLevelBox_14.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_14 = QRadioButton(self.OutputLevelBox_14)
        self.HighRadioButton_14.setObjectName(u"HighRadioButton_14")
        self.HighRadioButton_14.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_14 = QRadioButton(self.OutputLevelBox_14)
        self.LowRadioButton_14.setObjectName(u"LowRadioButton_14")
        self.LowRadioButton_14.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_14.setChecked(True)
        self.InputLevelBox_14 = QGroupBox(self.PinNum_14)
        self.InputLevelBox_14.setObjectName(u"InputLevelBox_14")
        self.InputLevelBox_14.setEnabled(True)
        self.InputLevelBox_14.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_14 = QRadioButton(self.InputLevelBox_14)
        self.PullUpRadioButton_14.setObjectName(u"PullUpRadioButton_14")
        self.PullUpRadioButton_14.setEnabled(True)
        self.PullUpRadioButton_14.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_14.setChecked(True)
        self.HighImpButton_14 = QRadioButton(self.InputLevelBox_14)
        self.HighImpButton_14.setObjectName(u"HighImpButton_14")
        self.HighImpButton_14.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_14)
        self.page_15 = QWidget()
        self.page_15.setObjectName(u"page_15")
        self.PinNum_15 = QGroupBox(self.page_15)
        self.PinNum_15.setObjectName(u"PinNum_15")
        self.PinNum_15.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_15.setFont(font3)
        self.DirectionBox_15 = QGroupBox(self.PinNum_15)
        self.DirectionBox_15.setObjectName(u"DirectionBox_15")
        self.DirectionBox_15.setEnabled(True)
        self.DirectionBox_15.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_15 = QRadioButton(self.DirectionBox_15)
        self.InputRadioButton_15.setObjectName(u"InputRadioButton_15")
        self.InputRadioButton_15.setEnabled(True)
        self.InputRadioButton_15.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_15.setAcceptDrops(False)
        self.InputRadioButton_15.setChecked(True)
        self.OutputRadioButton_15 = QRadioButton(self.DirectionBox_15)
        self.OutputRadioButton_15.setObjectName(u"OutputRadioButton_15")
        self.OutputRadioButton_15.setEnabled(True)
        self.OutputRadioButton_15.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_15 = QGroupBox(self.PinNum_15)
        self.OutputLevelBox_15.setObjectName(u"OutputLevelBox_15")
        self.OutputLevelBox_15.setEnabled(False)
        self.OutputLevelBox_15.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_15 = QRadioButton(self.OutputLevelBox_15)
        self.HighRadioButton_15.setObjectName(u"HighRadioButton_15")
        self.HighRadioButton_15.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_15 = QRadioButton(self.OutputLevelBox_15)
        self.LowRadioButton_15.setObjectName(u"LowRadioButton_15")
        self.LowRadioButton_15.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_15.setChecked(True)
        self.InputLevelBox_15 = QGroupBox(self.PinNum_15)
        self.InputLevelBox_15.setObjectName(u"InputLevelBox_15")
        self.InputLevelBox_15.setEnabled(True)
        self.InputLevelBox_15.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_15 = QRadioButton(self.InputLevelBox_15)
        self.PullUpRadioButton_15.setObjectName(u"PullUpRadioButton_15")
        self.PullUpRadioButton_15.setEnabled(True)
        self.PullUpRadioButton_15.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_15.setChecked(True)
        self.HighImpButton_15 = QRadioButton(self.InputLevelBox_15)
        self.HighImpButton_15.setObjectName(u"HighImpButton_15")
        self.HighImpButton_15.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_15)
        self.page_16 = QWidget()
        self.page_16.setObjectName(u"page_16")
        self.PinNum_16 = QGroupBox(self.page_16)
        self.PinNum_16.setObjectName(u"PinNum_16")
        self.PinNum_16.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_16.setFont(font3)
        self.DirectionBox_16 = QGroupBox(self.PinNum_16)
        self.DirectionBox_16.setObjectName(u"DirectionBox_16")
        self.DirectionBox_16.setEnabled(True)
        self.DirectionBox_16.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_16 = QRadioButton(self.DirectionBox_16)
        self.InputRadioButton_16.setObjectName(u"InputRadioButton_16")
        self.InputRadioButton_16.setEnabled(True)
        self.InputRadioButton_16.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_16.setAcceptDrops(False)
        self.InputRadioButton_16.setChecked(True)
        self.OutputRadioButton_16 = QRadioButton(self.DirectionBox_16)
        self.OutputRadioButton_16.setObjectName(u"OutputRadioButton_16")
        self.OutputRadioButton_16.setEnabled(True)
        self.OutputRadioButton_16.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_16 = QGroupBox(self.PinNum_16)
        self.OutputLevelBox_16.setObjectName(u"OutputLevelBox_16")
        self.OutputLevelBox_16.setEnabled(False)
        self.OutputLevelBox_16.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_16 = QRadioButton(self.OutputLevelBox_16)
        self.HighRadioButton_16.setObjectName(u"HighRadioButton_16")
        self.HighRadioButton_16.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_16 = QRadioButton(self.OutputLevelBox_16)
        self.LowRadioButton_16.setObjectName(u"LowRadioButton_16")
        self.LowRadioButton_16.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_16.setChecked(True)
        self.InputLevelBox_16 = QGroupBox(self.PinNum_16)
        self.InputLevelBox_16.setObjectName(u"InputLevelBox_16")
        self.InputLevelBox_16.setEnabled(True)
        self.InputLevelBox_16.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_16 = QRadioButton(self.InputLevelBox_16)
        self.PullUpRadioButton_16.setObjectName(u"PullUpRadioButton_16")
        self.PullUpRadioButton_16.setEnabled(True)
        self.PullUpRadioButton_16.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_16.setChecked(True)
        self.HighImpButton_16 = QRadioButton(self.InputLevelBox_16)
        self.HighImpButton_16.setObjectName(u"HighImpButton_16")
        self.HighImpButton_16.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_16)
        self.page_17 = QWidget()
        self.page_17.setObjectName(u"page_17")
        self.PinNum_17 = QGroupBox(self.page_17)
        self.PinNum_17.setObjectName(u"PinNum_17")
        self.PinNum_17.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_17.setFont(font3)
        self.DirectionBox_17 = QGroupBox(self.PinNum_17)
        self.DirectionBox_17.setObjectName(u"DirectionBox_17")
        self.DirectionBox_17.setEnabled(True)
        self.DirectionBox_17.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_17 = QRadioButton(self.DirectionBox_17)
        self.InputRadioButton_17.setObjectName(u"InputRadioButton_17")
        self.InputRadioButton_17.setEnabled(True)
        self.InputRadioButton_17.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_17.setAcceptDrops(False)
        self.InputRadioButton_17.setChecked(True)
        self.OutputRadioButton_17 = QRadioButton(self.DirectionBox_17)
        self.OutputRadioButton_17.setObjectName(u"OutputRadioButton_17")
        self.OutputRadioButton_17.setEnabled(True)
        self.OutputRadioButton_17.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_17 = QGroupBox(self.PinNum_17)
        self.OutputLevelBox_17.setObjectName(u"OutputLevelBox_17")
        self.OutputLevelBox_17.setEnabled(False)
        self.OutputLevelBox_17.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_17 = QRadioButton(self.OutputLevelBox_17)
        self.HighRadioButton_17.setObjectName(u"HighRadioButton_17")
        self.HighRadioButton_17.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_17 = QRadioButton(self.OutputLevelBox_17)
        self.LowRadioButton_17.setObjectName(u"LowRadioButton_17")
        self.LowRadioButton_17.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_17.setChecked(True)
        self.InputLevelBox_17 = QGroupBox(self.PinNum_17)
        self.InputLevelBox_17.setObjectName(u"InputLevelBox_17")
        self.InputLevelBox_17.setEnabled(True)
        self.InputLevelBox_17.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_17 = QRadioButton(self.InputLevelBox_17)
        self.PullUpRadioButton_17.setObjectName(u"PullUpRadioButton_17")
        self.PullUpRadioButton_17.setEnabled(True)
        self.PullUpRadioButton_17.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_17.setChecked(True)
        self.HighImpButton_17 = QRadioButton(self.InputLevelBox_17)
        self.HighImpButton_17.setObjectName(u"HighImpButton_17")
        self.HighImpButton_17.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_17)
        self.page_18 = QWidget()
        self.page_18.setObjectName(u"page_18")
        self.PinNum_18 = QGroupBox(self.page_18)
        self.PinNum_18.setObjectName(u"PinNum_18")
        self.PinNum_18.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_18.setFont(font3)
        self.DirectionBox_18 = QGroupBox(self.PinNum_18)
        self.DirectionBox_18.setObjectName(u"DirectionBox_18")
        self.DirectionBox_18.setEnabled(True)
        self.DirectionBox_18.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_18 = QRadioButton(self.DirectionBox_18)
        self.InputRadioButton_18.setObjectName(u"InputRadioButton_18")
        self.InputRadioButton_18.setEnabled(True)
        self.InputRadioButton_18.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_18.setAcceptDrops(False)
        self.InputRadioButton_18.setChecked(True)
        self.OutputRadioButton_18 = QRadioButton(self.DirectionBox_18)
        self.OutputRadioButton_18.setObjectName(u"OutputRadioButton_18")
        self.OutputRadioButton_18.setEnabled(True)
        self.OutputRadioButton_18.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_18 = QGroupBox(self.PinNum_18)
        self.OutputLevelBox_18.setObjectName(u"OutputLevelBox_18")
        self.OutputLevelBox_18.setEnabled(False)
        self.OutputLevelBox_18.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_18 = QRadioButton(self.OutputLevelBox_18)
        self.HighRadioButton_18.setObjectName(u"HighRadioButton_18")
        self.HighRadioButton_18.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_18 = QRadioButton(self.OutputLevelBox_18)
        self.LowRadioButton_18.setObjectName(u"LowRadioButton_18")
        self.LowRadioButton_18.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_18.setChecked(True)
        self.InputLevelBox_18 = QGroupBox(self.PinNum_18)
        self.InputLevelBox_18.setObjectName(u"InputLevelBox_18")
        self.InputLevelBox_18.setEnabled(True)
        self.InputLevelBox_18.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_18 = QRadioButton(self.InputLevelBox_18)
        self.PullUpRadioButton_18.setObjectName(u"PullUpRadioButton_18")
        self.PullUpRadioButton_18.setEnabled(True)
        self.PullUpRadioButton_18.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_18.setChecked(True)
        self.HighImpButton_18 = QRadioButton(self.InputLevelBox_18)
        self.HighImpButton_18.setObjectName(u"HighImpButton_18")
        self.HighImpButton_18.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_18)
        self.page_19 = QWidget()
        self.page_19.setObjectName(u"page_19")
        self.PinNum_19 = QGroupBox(self.page_19)
        self.PinNum_19.setObjectName(u"PinNum_19")
        self.PinNum_19.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_19.setFont(font3)
        self.DirectionBox_19 = QGroupBox(self.PinNum_19)
        self.DirectionBox_19.setObjectName(u"DirectionBox_19")
        self.DirectionBox_19.setEnabled(True)
        self.DirectionBox_19.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_19 = QRadioButton(self.DirectionBox_19)
        self.InputRadioButton_19.setObjectName(u"InputRadioButton_19")
        self.InputRadioButton_19.setEnabled(True)
        self.InputRadioButton_19.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_19.setAcceptDrops(False)
        self.InputRadioButton_19.setChecked(True)
        self.OutputRadioButton_19 = QRadioButton(self.DirectionBox_19)
        self.OutputRadioButton_19.setObjectName(u"OutputRadioButton_19")
        self.OutputRadioButton_19.setEnabled(True)
        self.OutputRadioButton_19.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_19 = QGroupBox(self.PinNum_19)
        self.OutputLevelBox_19.setObjectName(u"OutputLevelBox_19")
        self.OutputLevelBox_19.setEnabled(False)
        self.OutputLevelBox_19.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_19 = QRadioButton(self.OutputLevelBox_19)
        self.HighRadioButton_19.setObjectName(u"HighRadioButton_19")
        self.HighRadioButton_19.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_19 = QRadioButton(self.OutputLevelBox_19)
        self.LowRadioButton_19.setObjectName(u"LowRadioButton_19")
        self.LowRadioButton_19.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_19.setChecked(True)
        self.InputLevelBox_19 = QGroupBox(self.PinNum_19)
        self.InputLevelBox_19.setObjectName(u"InputLevelBox_19")
        self.InputLevelBox_19.setEnabled(True)
        self.InputLevelBox_19.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_19 = QRadioButton(self.InputLevelBox_19)
        self.PullUpRadioButton_19.setObjectName(u"PullUpRadioButton_19")
        self.PullUpRadioButton_19.setEnabled(True)
        self.PullUpRadioButton_19.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_19.setChecked(True)
        self.HighImpButton_19 = QRadioButton(self.InputLevelBox_19)
        self.HighImpButton_19.setObjectName(u"HighImpButton_19")
        self.HighImpButton_19.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_19)
        self.page_20 = QWidget()
        self.page_20.setObjectName(u"page_20")
        self.PinNum_20 = QGroupBox(self.page_20)
        self.PinNum_20.setObjectName(u"PinNum_20")
        self.PinNum_20.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_20.setFont(font3)
        self.DirectionBox_20 = QGroupBox(self.PinNum_20)
        self.DirectionBox_20.setObjectName(u"DirectionBox_20")
        self.DirectionBox_20.setEnabled(True)
        self.DirectionBox_20.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_20 = QRadioButton(self.DirectionBox_20)
        self.InputRadioButton_20.setObjectName(u"InputRadioButton_20")
        self.InputRadioButton_20.setEnabled(True)
        self.InputRadioButton_20.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_20.setAcceptDrops(False)
        self.InputRadioButton_20.setChecked(True)
        self.OutputRadioButton_20 = QRadioButton(self.DirectionBox_20)
        self.OutputRadioButton_20.setObjectName(u"OutputRadioButton_20")
        self.OutputRadioButton_20.setEnabled(True)
        self.OutputRadioButton_20.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_20 = QGroupBox(self.PinNum_20)
        self.OutputLevelBox_20.setObjectName(u"OutputLevelBox_20")
        self.OutputLevelBox_20.setEnabled(False)
        self.OutputLevelBox_20.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_20 = QRadioButton(self.OutputLevelBox_20)
        self.HighRadioButton_20.setObjectName(u"HighRadioButton_20")
        self.HighRadioButton_20.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_20 = QRadioButton(self.OutputLevelBox_20)
        self.LowRadioButton_20.setObjectName(u"LowRadioButton_20")
        self.LowRadioButton_20.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_20.setChecked(True)
        self.InputLevelBox_20 = QGroupBox(self.PinNum_20)
        self.InputLevelBox_20.setObjectName(u"InputLevelBox_20")
        self.InputLevelBox_20.setEnabled(True)
        self.InputLevelBox_20.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_20 = QRadioButton(self.InputLevelBox_20)
        self.PullUpRadioButton_20.setObjectName(u"PullUpRadioButton_20")
        self.PullUpRadioButton_20.setEnabled(True)
        self.PullUpRadioButton_20.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_20.setChecked(True)
        self.HighImpButton_20 = QRadioButton(self.InputLevelBox_20)
        self.HighImpButton_20.setObjectName(u"HighImpButton_20")
        self.HighImpButton_20.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_20)
        self.page_21 = QWidget()
        self.page_21.setObjectName(u"page_21")
        self.PinNum_21 = QGroupBox(self.page_21)
        self.PinNum_21.setObjectName(u"PinNum_21")
        self.PinNum_21.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_21.setFont(font3)
        self.DirectionBox_21 = QGroupBox(self.PinNum_21)
        self.DirectionBox_21.setObjectName(u"DirectionBox_21")
        self.DirectionBox_21.setEnabled(True)
        self.DirectionBox_21.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_21 = QRadioButton(self.DirectionBox_21)
        self.InputRadioButton_21.setObjectName(u"InputRadioButton_21")
        self.InputRadioButton_21.setEnabled(True)
        self.InputRadioButton_21.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_21.setAcceptDrops(False)
        self.InputRadioButton_21.setChecked(True)
        self.OutputRadioButton_21 = QRadioButton(self.DirectionBox_21)
        self.OutputRadioButton_21.setObjectName(u"OutputRadioButton_21")
        self.OutputRadioButton_21.setEnabled(True)
        self.OutputRadioButton_21.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_21 = QGroupBox(self.PinNum_21)
        self.OutputLevelBox_21.setObjectName(u"OutputLevelBox_21")
        self.OutputLevelBox_21.setEnabled(False)
        self.OutputLevelBox_21.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_21 = QRadioButton(self.OutputLevelBox_21)
        self.HighRadioButton_21.setObjectName(u"HighRadioButton_21")
        self.HighRadioButton_21.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_21 = QRadioButton(self.OutputLevelBox_21)
        self.LowRadioButton_21.setObjectName(u"LowRadioButton_21")
        self.LowRadioButton_21.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_21.setChecked(True)
        self.InputLevelBox_21 = QGroupBox(self.PinNum_21)
        self.InputLevelBox_21.setObjectName(u"InputLevelBox_21")
        self.InputLevelBox_21.setEnabled(True)
        self.InputLevelBox_21.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_21 = QRadioButton(self.InputLevelBox_21)
        self.PullUpRadioButton_21.setObjectName(u"PullUpRadioButton_21")
        self.PullUpRadioButton_21.setEnabled(True)
        self.PullUpRadioButton_21.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_21.setChecked(True)
        self.HighImpButton_21 = QRadioButton(self.InputLevelBox_21)
        self.HighImpButton_21.setObjectName(u"HighImpButton_21")
        self.HighImpButton_21.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_21)
        self.page_22 = QWidget()
        self.page_22.setObjectName(u"page_22")
        self.PinNum_22 = QGroupBox(self.page_22)
        self.PinNum_22.setObjectName(u"PinNum_22")
        self.PinNum_22.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_22.setFont(font3)
        self.DirectionBox_22 = QGroupBox(self.PinNum_22)
        self.DirectionBox_22.setObjectName(u"DirectionBox_22")
        self.DirectionBox_22.setEnabled(True)
        self.DirectionBox_22.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_22 = QRadioButton(self.DirectionBox_22)
        self.InputRadioButton_22.setObjectName(u"InputRadioButton_22")
        self.InputRadioButton_22.setEnabled(True)
        self.InputRadioButton_22.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_22.setAcceptDrops(False)
        self.InputRadioButton_22.setChecked(True)
        self.OutputRadioButton_22 = QRadioButton(self.DirectionBox_22)
        self.OutputRadioButton_22.setObjectName(u"OutputRadioButton_22")
        self.OutputRadioButton_22.setEnabled(True)
        self.OutputRadioButton_22.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_22 = QGroupBox(self.PinNum_22)
        self.OutputLevelBox_22.setObjectName(u"OutputLevelBox_22")
        self.OutputLevelBox_22.setEnabled(False)
        self.OutputLevelBox_22.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_22 = QRadioButton(self.OutputLevelBox_22)
        self.HighRadioButton_22.setObjectName(u"HighRadioButton_22")
        self.HighRadioButton_22.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_22 = QRadioButton(self.OutputLevelBox_22)
        self.LowRadioButton_22.setObjectName(u"LowRadioButton_22")
        self.LowRadioButton_22.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_22.setChecked(True)
        self.InputLevelBox_22 = QGroupBox(self.PinNum_22)
        self.InputLevelBox_22.setObjectName(u"InputLevelBox_22")
        self.InputLevelBox_22.setEnabled(True)
        self.InputLevelBox_22.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_22 = QRadioButton(self.InputLevelBox_22)
        self.PullUpRadioButton_22.setObjectName(u"PullUpRadioButton_22")
        self.PullUpRadioButton_22.setEnabled(True)
        self.PullUpRadioButton_22.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_22.setChecked(True)
        self.HighImpButton_22 = QRadioButton(self.InputLevelBox_22)
        self.HighImpButton_22.setObjectName(u"HighImpButton_22")
        self.HighImpButton_22.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_22)
        self.page_23 = QWidget()
        self.page_23.setObjectName(u"page_23")
        self.PinNum_23 = QGroupBox(self.page_23)
        self.PinNum_23.setObjectName(u"PinNum_23")
        self.PinNum_23.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_23.setFont(font3)
        self.DirectionBox_23 = QGroupBox(self.PinNum_23)
        self.DirectionBox_23.setObjectName(u"DirectionBox_23")
        self.DirectionBox_23.setEnabled(True)
        self.DirectionBox_23.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_23 = QRadioButton(self.DirectionBox_23)
        self.InputRadioButton_23.setObjectName(u"InputRadioButton_23")
        self.InputRadioButton_23.setEnabled(True)
        self.InputRadioButton_23.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_23.setAcceptDrops(False)
        self.InputRadioButton_23.setChecked(True)
        self.OutputRadioButton_23 = QRadioButton(self.DirectionBox_23)
        self.OutputRadioButton_23.setObjectName(u"OutputRadioButton_23")
        self.OutputRadioButton_23.setEnabled(True)
        self.OutputRadioButton_23.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_23 = QGroupBox(self.PinNum_23)
        self.OutputLevelBox_23.setObjectName(u"OutputLevelBox_23")
        self.OutputLevelBox_23.setEnabled(False)
        self.OutputLevelBox_23.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_23 = QRadioButton(self.OutputLevelBox_23)
        self.HighRadioButton_23.setObjectName(u"HighRadioButton_23")
        self.HighRadioButton_23.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_23 = QRadioButton(self.OutputLevelBox_23)
        self.LowRadioButton_23.setObjectName(u"LowRadioButton_23")
        self.LowRadioButton_23.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_23.setChecked(True)
        self.InputLevelBox_23 = QGroupBox(self.PinNum_23)
        self.InputLevelBox_23.setObjectName(u"InputLevelBox_23")
        self.InputLevelBox_23.setEnabled(True)
        self.InputLevelBox_23.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_23 = QRadioButton(self.InputLevelBox_23)
        self.PullUpRadioButton_23.setObjectName(u"PullUpRadioButton_23")
        self.PullUpRadioButton_23.setEnabled(True)
        self.PullUpRadioButton_23.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_23.setChecked(True)
        self.HighImpButton_23 = QRadioButton(self.InputLevelBox_23)
        self.HighImpButton_23.setObjectName(u"HighImpButton_23")
        self.HighImpButton_23.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_23)
        self.page_24 = QWidget()
        self.page_24.setObjectName(u"page_24")
        self.PinNum_24 = QGroupBox(self.page_24)
        self.PinNum_24.setObjectName(u"PinNum_24")
        self.PinNum_24.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_24.setFont(font3)
        self.DirectionBox_24 = QGroupBox(self.PinNum_24)
        self.DirectionBox_24.setObjectName(u"DirectionBox_24")
        self.DirectionBox_24.setEnabled(True)
        self.DirectionBox_24.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_24 = QRadioButton(self.DirectionBox_24)
        self.InputRadioButton_24.setObjectName(u"InputRadioButton_24")
        self.InputRadioButton_24.setEnabled(True)
        self.InputRadioButton_24.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_24.setAcceptDrops(False)
        self.InputRadioButton_24.setChecked(True)
        self.OutputRadioButton_24 = QRadioButton(self.DirectionBox_24)
        self.OutputRadioButton_24.setObjectName(u"OutputRadioButton_24")
        self.OutputRadioButton_24.setEnabled(True)
        self.OutputRadioButton_24.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_24 = QGroupBox(self.PinNum_24)
        self.OutputLevelBox_24.setObjectName(u"OutputLevelBox_24")
        self.OutputLevelBox_24.setEnabled(False)
        self.OutputLevelBox_24.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_24 = QRadioButton(self.OutputLevelBox_24)
        self.HighRadioButton_24.setObjectName(u"HighRadioButton_24")
        self.HighRadioButton_24.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_24 = QRadioButton(self.OutputLevelBox_24)
        self.LowRadioButton_24.setObjectName(u"LowRadioButton_24")
        self.LowRadioButton_24.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_24.setChecked(True)
        self.InputLevelBox_24 = QGroupBox(self.PinNum_24)
        self.InputLevelBox_24.setObjectName(u"InputLevelBox_24")
        self.InputLevelBox_24.setEnabled(True)
        self.InputLevelBox_24.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_24 = QRadioButton(self.InputLevelBox_24)
        self.PullUpRadioButton_24.setObjectName(u"PullUpRadioButton_24")
        self.PullUpRadioButton_24.setEnabled(True)
        self.PullUpRadioButton_24.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_24.setChecked(True)
        self.HighImpButton_24 = QRadioButton(self.InputLevelBox_24)
        self.HighImpButton_24.setObjectName(u"HighImpButton_24")
        self.HighImpButton_24.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_24)
        self.page_25 = QWidget()
        self.page_25.setObjectName(u"page_25")
        self.PinNum_25 = QGroupBox(self.page_25)
        self.PinNum_25.setObjectName(u"PinNum_25")
        self.PinNum_25.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_25.setFont(font3)
        self.DirectionBox_25 = QGroupBox(self.PinNum_25)
        self.DirectionBox_25.setObjectName(u"DirectionBox_25")
        self.DirectionBox_25.setEnabled(True)
        self.DirectionBox_25.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_25 = QRadioButton(self.DirectionBox_25)
        self.InputRadioButton_25.setObjectName(u"InputRadioButton_25")
        self.InputRadioButton_25.setEnabled(True)
        self.InputRadioButton_25.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_25.setAcceptDrops(False)
        self.InputRadioButton_25.setChecked(True)
        self.OutputRadioButton_25 = QRadioButton(self.DirectionBox_25)
        self.OutputRadioButton_25.setObjectName(u"OutputRadioButton_25")
        self.OutputRadioButton_25.setEnabled(True)
        self.OutputRadioButton_25.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_25 = QGroupBox(self.PinNum_25)
        self.OutputLevelBox_25.setObjectName(u"OutputLevelBox_25")
        self.OutputLevelBox_25.setEnabled(False)
        self.OutputLevelBox_25.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_25 = QRadioButton(self.OutputLevelBox_25)
        self.HighRadioButton_25.setObjectName(u"HighRadioButton_25")
        self.HighRadioButton_25.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_25 = QRadioButton(self.OutputLevelBox_25)
        self.LowRadioButton_25.setObjectName(u"LowRadioButton_25")
        self.LowRadioButton_25.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_25.setChecked(True)
        self.InputLevelBox_25 = QGroupBox(self.PinNum_25)
        self.InputLevelBox_25.setObjectName(u"InputLevelBox_25")
        self.InputLevelBox_25.setEnabled(True)
        self.InputLevelBox_25.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_25 = QRadioButton(self.InputLevelBox_25)
        self.PullUpRadioButton_25.setObjectName(u"PullUpRadioButton_25")
        self.PullUpRadioButton_25.setEnabled(True)
        self.PullUpRadioButton_25.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_25.setChecked(True)
        self.HighImpButton_25 = QRadioButton(self.InputLevelBox_25)
        self.HighImpButton_25.setObjectName(u"HighImpButton_25")
        self.HighImpButton_25.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_25)
        self.page_26 = QWidget()
        self.page_26.setObjectName(u"page_26")
        self.PinNum_26 = QGroupBox(self.page_26)
        self.PinNum_26.setObjectName(u"PinNum_26")
        self.PinNum_26.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_26.setFont(font3)
        self.DirectionBox_26 = QGroupBox(self.PinNum_26)
        self.DirectionBox_26.setObjectName(u"DirectionBox_26")
        self.DirectionBox_26.setEnabled(True)
        self.DirectionBox_26.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_26 = QRadioButton(self.DirectionBox_26)
        self.InputRadioButton_26.setObjectName(u"InputRadioButton_26")
        self.InputRadioButton_26.setEnabled(True)
        self.InputRadioButton_26.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_26.setAcceptDrops(False)
        self.InputRadioButton_26.setChecked(True)
        self.OutputRadioButton_26 = QRadioButton(self.DirectionBox_26)
        self.OutputRadioButton_26.setObjectName(u"OutputRadioButton_26")
        self.OutputRadioButton_26.setEnabled(True)
        self.OutputRadioButton_26.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_26 = QGroupBox(self.PinNum_26)
        self.OutputLevelBox_26.setObjectName(u"OutputLevelBox_26")
        self.OutputLevelBox_26.setEnabled(False)
        self.OutputLevelBox_26.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_26 = QRadioButton(self.OutputLevelBox_26)
        self.HighRadioButton_26.setObjectName(u"HighRadioButton_26")
        self.HighRadioButton_26.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_26 = QRadioButton(self.OutputLevelBox_26)
        self.LowRadioButton_26.setObjectName(u"LowRadioButton_26")
        self.LowRadioButton_26.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_26.setChecked(True)
        self.InputLevelBox_26 = QGroupBox(self.PinNum_26)
        self.InputLevelBox_26.setObjectName(u"InputLevelBox_26")
        self.InputLevelBox_26.setEnabled(True)
        self.InputLevelBox_26.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_26 = QRadioButton(self.InputLevelBox_26)
        self.PullUpRadioButton_26.setObjectName(u"PullUpRadioButton_26")
        self.PullUpRadioButton_26.setEnabled(True)
        self.PullUpRadioButton_26.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_26.setChecked(True)
        self.HighImpButton_26 = QRadioButton(self.InputLevelBox_26)
        self.HighImpButton_26.setObjectName(u"HighImpButton_26")
        self.HighImpButton_26.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_26)
        self.page_27 = QWidget()
        self.page_27.setObjectName(u"page_27")
        self.PinNum_27 = QGroupBox(self.page_27)
        self.PinNum_27.setObjectName(u"PinNum_27")
        self.PinNum_27.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_27.setFont(font3)
        self.DirectionBox_27 = QGroupBox(self.PinNum_27)
        self.DirectionBox_27.setObjectName(u"DirectionBox_27")
        self.DirectionBox_27.setEnabled(True)
        self.DirectionBox_27.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_27 = QRadioButton(self.DirectionBox_27)
        self.InputRadioButton_27.setObjectName(u"InputRadioButton_27")
        self.InputRadioButton_27.setEnabled(True)
        self.InputRadioButton_27.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_27.setAcceptDrops(False)
        self.InputRadioButton_27.setChecked(True)
        self.OutputRadioButton_27 = QRadioButton(self.DirectionBox_27)
        self.OutputRadioButton_27.setObjectName(u"OutputRadioButton_27")
        self.OutputRadioButton_27.setEnabled(True)
        self.OutputRadioButton_27.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_27 = QGroupBox(self.PinNum_27)
        self.OutputLevelBox_27.setObjectName(u"OutputLevelBox_27")
        self.OutputLevelBox_27.setEnabled(False)
        self.OutputLevelBox_27.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_27 = QRadioButton(self.OutputLevelBox_27)
        self.HighRadioButton_27.setObjectName(u"HighRadioButton_27")
        self.HighRadioButton_27.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_27 = QRadioButton(self.OutputLevelBox_27)
        self.LowRadioButton_27.setObjectName(u"LowRadioButton_27")
        self.LowRadioButton_27.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_27.setChecked(True)
        self.InputLevelBox_27 = QGroupBox(self.PinNum_27)
        self.InputLevelBox_27.setObjectName(u"InputLevelBox_27")
        self.InputLevelBox_27.setEnabled(True)
        self.InputLevelBox_27.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_27 = QRadioButton(self.InputLevelBox_27)
        self.PullUpRadioButton_27.setObjectName(u"PullUpRadioButton_27")
        self.PullUpRadioButton_27.setEnabled(True)
        self.PullUpRadioButton_27.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_27.setChecked(True)
        self.HighImpButton_27 = QRadioButton(self.InputLevelBox_27)
        self.HighImpButton_27.setObjectName(u"HighImpButton_27")
        self.HighImpButton_27.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_27)
        self.page_28 = QWidget()
        self.page_28.setObjectName(u"page_28")
        self.PinNum_28 = QGroupBox(self.page_28)
        self.PinNum_28.setObjectName(u"PinNum_28")
        self.PinNum_28.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_28.setFont(font3)
        self.DirectionBox_28 = QGroupBox(self.PinNum_28)
        self.DirectionBox_28.setObjectName(u"DirectionBox_28")
        self.DirectionBox_28.setEnabled(True)
        self.DirectionBox_28.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_28 = QRadioButton(self.DirectionBox_28)
        self.InputRadioButton_28.setObjectName(u"InputRadioButton_28")
        self.InputRadioButton_28.setEnabled(True)
        self.InputRadioButton_28.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_28.setAcceptDrops(False)
        self.InputRadioButton_28.setChecked(True)
        self.OutputRadioButton_28 = QRadioButton(self.DirectionBox_28)
        self.OutputRadioButton_28.setObjectName(u"OutputRadioButton_28")
        self.OutputRadioButton_28.setEnabled(True)
        self.OutputRadioButton_28.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_28 = QGroupBox(self.PinNum_28)
        self.OutputLevelBox_28.setObjectName(u"OutputLevelBox_28")
        self.OutputLevelBox_28.setEnabled(False)
        self.OutputLevelBox_28.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_28 = QRadioButton(self.OutputLevelBox_28)
        self.HighRadioButton_28.setObjectName(u"HighRadioButton_28")
        self.HighRadioButton_28.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_28 = QRadioButton(self.OutputLevelBox_28)
        self.LowRadioButton_28.setObjectName(u"LowRadioButton_28")
        self.LowRadioButton_28.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_28.setChecked(True)
        self.InputLevelBox_28 = QGroupBox(self.PinNum_28)
        self.InputLevelBox_28.setObjectName(u"InputLevelBox_28")
        self.InputLevelBox_28.setEnabled(True)
        self.InputLevelBox_28.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_28 = QRadioButton(self.InputLevelBox_28)
        self.PullUpRadioButton_28.setObjectName(u"PullUpRadioButton_28")
        self.PullUpRadioButton_28.setEnabled(True)
        self.PullUpRadioButton_28.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_28.setChecked(True)
        self.HighImpButton_28 = QRadioButton(self.InputLevelBox_28)
        self.HighImpButton_28.setObjectName(u"HighImpButton_28")
        self.HighImpButton_28.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_28)
        self.page_29 = QWidget()
        self.page_29.setObjectName(u"page_29")
        self.PinNum_29 = QGroupBox(self.page_29)
        self.PinNum_29.setObjectName(u"PinNum_29")
        self.PinNum_29.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_29.setFont(font3)
        self.DirectionBox_29 = QGroupBox(self.PinNum_29)
        self.DirectionBox_29.setObjectName(u"DirectionBox_29")
        self.DirectionBox_29.setEnabled(True)
        self.DirectionBox_29.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_29 = QRadioButton(self.DirectionBox_29)
        self.InputRadioButton_29.setObjectName(u"InputRadioButton_29")
        self.InputRadioButton_29.setEnabled(True)
        self.InputRadioButton_29.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_29.setAcceptDrops(False)
        self.InputRadioButton_29.setChecked(True)
        self.OutputRadioButton_29 = QRadioButton(self.DirectionBox_29)
        self.OutputRadioButton_29.setObjectName(u"OutputRadioButton_29")
        self.OutputRadioButton_29.setEnabled(True)
        self.OutputRadioButton_29.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_29 = QGroupBox(self.PinNum_29)
        self.OutputLevelBox_29.setObjectName(u"OutputLevelBox_29")
        self.OutputLevelBox_29.setEnabled(False)
        self.OutputLevelBox_29.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_29 = QRadioButton(self.OutputLevelBox_29)
        self.HighRadioButton_29.setObjectName(u"HighRadioButton_29")
        self.HighRadioButton_29.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_29 = QRadioButton(self.OutputLevelBox_29)
        self.LowRadioButton_29.setObjectName(u"LowRadioButton_29")
        self.LowRadioButton_29.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_29.setChecked(True)
        self.InputLevelBox_29 = QGroupBox(self.PinNum_29)
        self.InputLevelBox_29.setObjectName(u"InputLevelBox_29")
        self.InputLevelBox_29.setEnabled(True)
        self.InputLevelBox_29.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_29 = QRadioButton(self.InputLevelBox_29)
        self.PullUpRadioButton_29.setObjectName(u"PullUpRadioButton_29")
        self.PullUpRadioButton_29.setEnabled(True)
        self.PullUpRadioButton_29.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_29.setChecked(True)
        self.HighImpButton_29 = QRadioButton(self.InputLevelBox_29)
        self.HighImpButton_29.setObjectName(u"HighImpButton_29")
        self.HighImpButton_29.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_29)
        self.page_30 = QWidget()
        self.page_30.setObjectName(u"page_30")
        self.PinNum_30 = QGroupBox(self.page_30)
        self.PinNum_30.setObjectName(u"PinNum_30")
        self.PinNum_30.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_30.setFont(font3)
        self.DirectionBox_30 = QGroupBox(self.PinNum_30)
        self.DirectionBox_30.setObjectName(u"DirectionBox_30")
        self.DirectionBox_30.setEnabled(True)
        self.DirectionBox_30.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_30 = QRadioButton(self.DirectionBox_30)
        self.InputRadioButton_30.setObjectName(u"InputRadioButton_30")
        self.InputRadioButton_30.setEnabled(True)
        self.InputRadioButton_30.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_30.setAcceptDrops(False)
        self.InputRadioButton_30.setChecked(True)
        self.OutputRadioButton_30 = QRadioButton(self.DirectionBox_30)
        self.OutputRadioButton_30.setObjectName(u"OutputRadioButton_30")
        self.OutputRadioButton_30.setEnabled(True)
        self.OutputRadioButton_30.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_30 = QGroupBox(self.PinNum_30)
        self.OutputLevelBox_30.setObjectName(u"OutputLevelBox_30")
        self.OutputLevelBox_30.setEnabled(False)
        self.OutputLevelBox_30.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_30 = QRadioButton(self.OutputLevelBox_30)
        self.HighRadioButton_30.setObjectName(u"HighRadioButton_30")
        self.HighRadioButton_30.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_30 = QRadioButton(self.OutputLevelBox_30)
        self.LowRadioButton_30.setObjectName(u"LowRadioButton_30")
        self.LowRadioButton_30.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_30.setChecked(True)
        self.InputLevelBox_30 = QGroupBox(self.PinNum_30)
        self.InputLevelBox_30.setObjectName(u"InputLevelBox_30")
        self.InputLevelBox_30.setEnabled(True)
        self.InputLevelBox_30.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_30 = QRadioButton(self.InputLevelBox_30)
        self.PullUpRadioButton_30.setObjectName(u"PullUpRadioButton_30")
        self.PullUpRadioButton_30.setEnabled(True)
        self.PullUpRadioButton_30.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_30.setChecked(True)
        self.HighImpButton_30 = QRadioButton(self.InputLevelBox_30)
        self.HighImpButton_30.setObjectName(u"HighImpButton_30")
        self.HighImpButton_30.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_30)
        self.page_31 = QWidget()
        self.page_31.setObjectName(u"page_31")
        self.PinNum_31 = QGroupBox(self.page_31)
        self.PinNum_31.setObjectName(u"PinNum_31")
        self.PinNum_31.setGeometry(QRect(0, 20, 431, 161))
        self.PinNum_31.setFont(font3)
        self.DirectionBox_31 = QGroupBox(self.PinNum_31)
        self.DirectionBox_31.setObjectName(u"DirectionBox_31")
        self.DirectionBox_31.setEnabled(True)
        self.DirectionBox_31.setGeometry(QRect(20, 30, 141, 121))
        self.InputRadioButton_31 = QRadioButton(self.DirectionBox_31)
        self.InputRadioButton_31.setObjectName(u"InputRadioButton_31")
        self.InputRadioButton_31.setEnabled(True)
        self.InputRadioButton_31.setGeometry(QRect(20, 20, 82, 17))
        self.InputRadioButton_31.setAcceptDrops(False)
        self.InputRadioButton_31.setChecked(True)
        self.OutputRadioButton_31 = QRadioButton(self.DirectionBox_31)
        self.OutputRadioButton_31.setObjectName(u"OutputRadioButton_31")
        self.OutputRadioButton_31.setEnabled(True)
        self.OutputRadioButton_31.setGeometry(QRect(20, 80, 101, 17))
        self.OutputLevelBox_31 = QGroupBox(self.PinNum_31)
        self.OutputLevelBox_31.setObjectName(u"OutputLevelBox_31")
        self.OutputLevelBox_31.setEnabled(False)
        self.OutputLevelBox_31.setGeometry(QRect(180, 100, 231, 51))
        self.HighRadioButton_31 = QRadioButton(self.OutputLevelBox_31)
        self.HighRadioButton_31.setObjectName(u"HighRadioButton_31")
        self.HighRadioButton_31.setGeometry(QRect(10, 20, 91, 17))
        self.LowRadioButton_31 = QRadioButton(self.OutputLevelBox_31)
        self.LowRadioButton_31.setObjectName(u"LowRadioButton_31")
        self.LowRadioButton_31.setGeometry(QRect(120, 20, 111, 17))
        self.LowRadioButton_31.setChecked(True)
        self.InputLevelBox_31 = QGroupBox(self.PinNum_31)
        self.InputLevelBox_31.setObjectName(u"InputLevelBox_31")
        self.InputLevelBox_31.setEnabled(True)
        self.InputLevelBox_31.setGeometry(QRect(180, 30, 231, 51))
        self.PullUpRadioButton_31 = QRadioButton(self.InputLevelBox_31)
        self.PullUpRadioButton_31.setObjectName(u"PullUpRadioButton_31")
        self.PullUpRadioButton_31.setEnabled(True)
        self.PullUpRadioButton_31.setGeometry(QRect(10, 20, 91, 17))
        self.PullUpRadioButton_31.setChecked(True)
        self.HighImpButton_31 = QRadioButton(self.InputLevelBox_31)
        self.HighImpButton_31.setObjectName(u"HighImpButton_31")
        self.HighImpButton_31.setGeometry(QRect(120, 20, 111, 17))
        self.PinsCards.addWidget(self.page_31)
        self.MCAL_tabWidget.addTab(self.DIO_tab, "")
        self.ADC_tab = QWidget()
        self.ADC_tab.setObjectName(u"ADC_tab")
        self.MCAL_tabWidget.addTab(self.ADC_tab, "")
        self.Main_tabWidget.addTab(self.MCAL_tab, "")
        self.HAL_tab = QWidget()
        self.HAL_tab.setObjectName(u"HAL_tab")
        self.tabWidget_3 = QTabWidget(self.HAL_tab)
        self.tabWidget_3.setObjectName(u"tabWidget_3")
        self.tabWidget_3.setGeometry(QRect(0, 0, 491, 341))
        self.LED_tab = QWidget()
        self.LED_tab.setObjectName(u"LED_tab")
        self.tabWidget_3.addTab(self.LED_tab, "")
        self.LCD_tab = QWidget()
        self.LCD_tab.setObjectName(u"LCD_tab")
        self.tabWidget_3.addTab(self.LCD_tab, "")
        self.Main_tabWidget.addTab(self.HAL_tab, "")
        self.Generate_tab = QWidget()
        self.Generate_tab.setObjectName(u"Generate_tab")
        self.OutputPathBox = QGroupBox(self.Generate_tab)
        self.OutputPathBox.setObjectName(u"OutputPathBox")
        self.OutputPathBox.setGeometry(QRect(40, 240, 381, 71))
        self.OutputPathBox.setFont(font1)
        self.filePathLineEdit = QLineEdit(self.OutputPathBox)
        self.filePathLineEdit.setObjectName(u"filePathLineEdit")
        self.filePathLineEdit.setGeometry(QRect(20, 30, 261, 31))
        self.Browse_Button = QPushButton(self.OutputPathBox)
        self.Browse_Button.setObjectName(u"Browse_Button")
        self.Browse_Button.setGeometry(QRect(290, 30, 81, 31))
        self.Browse_Button.setFont(font3)
        self.Generate_Button = QPushButton(self.Generate_tab)
        self.Generate_Button.setObjectName(u"Generate_Button")
        self.Generate_Button.setGeometry(QRect(400, 310, 91, 31))
        self.Generate_Button.setFont(font3)
        self.MCAL_groupBox = QGroupBox(self.Generate_tab)
        self.MCAL_groupBox.setObjectName(u"MCAL_groupBox")
        self.MCAL_groupBox.setGeometry(QRect(10, 20, 231, 221))
        self.MCAL_scrollArea = QScrollArea(self.MCAL_groupBox)
        self.MCAL_scrollArea.setObjectName(u"MCAL_scrollArea")
        self.MCAL_scrollArea.setGeometry(QRect(10, 20, 211, 191))
        self.MCAL_scrollArea.setInputMethodHints(Qt.ImhNone)
        self.MCAL_scrollArea.setWidgetResizable(True)
        self.MCAL_scrollAreaContent = QWidget()
        self.MCAL_scrollAreaContent.setObjectName(u"MCAL_scrollAreaContent")
        self.MCAL_scrollAreaContent.setGeometry(QRect(0, 0, 209, 189))
        self.DIO_CheckBox = QCheckBox(self.MCAL_scrollAreaContent)
        self.DIO_CheckBox.setObjectName(u"DIO_CheckBox")
        self.DIO_CheckBox.setGeometry(QRect(10, 10, 91, 17))
        self.ADC_CheckBox = QCheckBox(self.MCAL_scrollAreaContent)
        self.ADC_CheckBox.setObjectName(u"ADC_CheckBox")
        self.ADC_CheckBox.setGeometry(QRect(10, 40, 81, 17))
        self.MCAL_scrollArea.setWidget(self.MCAL_scrollAreaContent)
        self.HAL_groupBox = QGroupBox(self.Generate_tab)
        self.HAL_groupBox.setObjectName(u"HAL_groupBox")
        self.HAL_groupBox.setGeometry(QRect(250, 20, 231, 221))
        self.HAL_scrollArea = QScrollArea(self.HAL_groupBox)
        self.HAL_scrollArea.setObjectName(u"HAL_scrollArea")
        self.HAL_scrollArea.setGeometry(QRect(10, 20, 211, 191))
        self.HAL_scrollArea.setWidgetResizable(True)
        self.HAL_ScrollAreaContent = QWidget()
        self.HAL_ScrollAreaContent.setObjectName(u"HAL_ScrollAreaContent")
        self.HAL_ScrollAreaContent.setGeometry(QRect(0, 0, 209, 189))
        self.LED_checkBox = QCheckBox(self.HAL_ScrollAreaContent)
        self.LED_checkBox.setObjectName(u"LED_checkBox")
        self.LED_checkBox.setGeometry(QRect(10, 10, 70, 17))
        self.LCD_checkBox = QCheckBox(self.HAL_ScrollAreaContent)
        self.LCD_checkBox.setObjectName(u"LCD_checkBox")
        self.LCD_checkBox.setGeometry(QRect(10, 40, 70, 17))
        self.HAL_scrollArea.setWidget(self.HAL_ScrollAreaContent)
        self.Main_tabWidget.addTab(self.Generate_tab, "")

        self.retranslateUi(Form)
        self.PIN_comboBox.activated.connect(self.PinsCards.setCurrentIndex)
        self.PinsCards.currentChanged.connect(self.PIN_comboBox.setCurrentIndex)

        QObject.connect( self.InputRadioButton_0  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_0 .setEnabled )
        QObject.connect( self.InputRadioButton_0  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_0 .setDisabled )        
        QObject.connect(self.OutputRadioButton_0  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_0 .setEnabled )
        QObject.connect(self.OutputRadioButton_0  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_0 .setDisabled )
                                                                                                    
        QObject.connect( self.InputRadioButton_1  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_1 .setEnabled )
        QObject.connect( self.InputRadioButton_1  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_1 .setDisabled )        
        QObject.connect(self.OutputRadioButton_1  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_1 .setEnabled )
        QObject.connect(self.OutputRadioButton_1  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_1 .setDisabled )
        
        QObject.connect( self.InputRadioButton_2  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_2 .setEnabled )
        QObject.connect( self.InputRadioButton_2  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_2 .setDisabled )        
        QObject.connect(self.OutputRadioButton_2  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_2 .setEnabled )
        QObject.connect(self.OutputRadioButton_2  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_2 .setDisabled )
        
        QObject.connect( self.InputRadioButton_3  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_3 .setEnabled )
        QObject.connect( self.InputRadioButton_3  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_3 .setDisabled )        
        QObject.connect(self.OutputRadioButton_3  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_3 .setEnabled )
        QObject.connect(self.OutputRadioButton_3  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_3 .setDisabled )
        
        QObject.connect( self.InputRadioButton_4  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_4 .setEnabled )
        QObject.connect( self.InputRadioButton_4  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_4 .setDisabled )        
        QObject.connect(self.OutputRadioButton_4  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_4 .setEnabled )
        QObject.connect(self.OutputRadioButton_4  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_4 .setDisabled )
        
        QObject.connect( self.InputRadioButton_5  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_5 .setEnabled )
        QObject.connect( self.InputRadioButton_5  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_5 .setDisabled )        
        QObject.connect(self.OutputRadioButton_5  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_5 .setEnabled )
        QObject.connect(self.OutputRadioButton_5  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_5 .setDisabled )
        
        QObject.connect( self.InputRadioButton_6  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_6 .setEnabled )
        QObject.connect( self.InputRadioButton_6  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_6 .setDisabled )        
        QObject.connect(self.OutputRadioButton_6  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_6 .setEnabled )
        QObject.connect(self.OutputRadioButton_6  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_6 .setDisabled )
        
        QObject.connect( self.InputRadioButton_7  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_7 .setEnabled )
        QObject.connect( self.InputRadioButton_7  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_7 .setDisabled )        
        QObject.connect(self.OutputRadioButton_7  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_7 .setEnabled )
        QObject.connect(self.OutputRadioButton_7  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_7 .setDisabled )
        
        QObject.connect( self.InputRadioButton_8  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_8 .setEnabled )
        QObject.connect( self.InputRadioButton_8  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_8 .setDisabled )        
        QObject.connect(self.OutputRadioButton_8  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_8 .setEnabled )
        QObject.connect(self.OutputRadioButton_8  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_8 .setDisabled )
        
        QObject.connect( self.InputRadioButton_9  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_9 .setEnabled )
        QObject.connect( self.InputRadioButton_9  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_9 .setDisabled )        
        QObject.connect(self.OutputRadioButton_9  , SIGNAL("clicked(bool)") ,   self.OutputLevelBox_9 .setEnabled )
        QObject.connect(self.OutputRadioButton_9  , SIGNAL("clicked(bool)") ,    self.InputLevelBox_9 .setDisabled )
        
        QObject.connect( self.InputRadioButton_10  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_10.setEnabled )
        QObject.connect( self.InputRadioButton_10  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_10.setDisabled )        
        QObject.connect(self.OutputRadioButton_10  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_10.setEnabled )
        QObject.connect(self.OutputRadioButton_10  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_10.setDisabled )
        
        QObject.connect( self.InputRadioButton_11  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_11.setEnabled )
        QObject.connect( self.InputRadioButton_11  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_11.setDisabled )        
        QObject.connect(self.OutputRadioButton_11  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_11.setEnabled )
        QObject.connect(self.OutputRadioButton_11  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_11.setDisabled )
        
        QObject.connect( self.InputRadioButton_12  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_12.setEnabled )
        QObject.connect( self.InputRadioButton_12  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_12.setDisabled )        
        QObject.connect(self.OutputRadioButton_12  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_12.setEnabled )
        QObject.connect(self.OutputRadioButton_12  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_12.setDisabled )
        
        QObject.connect( self.InputRadioButton_13  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_13.setEnabled )
        QObject.connect( self.InputRadioButton_13  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_13.setDisabled )        
        QObject.connect(self.OutputRadioButton_13  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_13.setEnabled )
        QObject.connect(self.OutputRadioButton_13  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_13.setDisabled )
        
        QObject.connect( self.InputRadioButton_14  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_14.setEnabled )
        QObject.connect( self.InputRadioButton_14  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_14.setDisabled )        
        QObject.connect(self.OutputRadioButton_14  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_14.setEnabled )
        QObject.connect(self.OutputRadioButton_14  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_14.setDisabled )
        
        QObject.connect( self.InputRadioButton_15  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_15.setEnabled )
        QObject.connect( self.InputRadioButton_15  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_15.setDisabled )        
        QObject.connect(self.OutputRadioButton_15  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_15.setEnabled )
        QObject.connect(self.OutputRadioButton_15  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_15.setDisabled )
        
        QObject.connect( self.InputRadioButton_16  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_16.setEnabled )
        QObject.connect( self.InputRadioButton_16  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_16.setDisabled )        
        QObject.connect(self.OutputRadioButton_16  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_16.setEnabled )
        QObject.connect(self.OutputRadioButton_16  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_16.setDisabled )
        
        QObject.connect( self.InputRadioButton_17  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_17.setEnabled )
        QObject.connect( self.InputRadioButton_17  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_17.setDisabled )        
        QObject.connect(self.OutputRadioButton_17  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_17.setEnabled )
        QObject.connect(self.OutputRadioButton_17  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_17.setDisabled )
        
        QObject.connect( self.InputRadioButton_18  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_18.setEnabled )
        QObject.connect( self.InputRadioButton_18  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_18.setDisabled )        
        QObject.connect(self.OutputRadioButton_18  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_18.setEnabled )
        QObject.connect(self.OutputRadioButton_18  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_18.setDisabled )
        
        QObject.connect( self.InputRadioButton_19  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_19.setEnabled )
        QObject.connect( self.InputRadioButton_19  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_19.setDisabled )        
        QObject.connect(self.OutputRadioButton_19  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_19.setEnabled )
        QObject.connect(self.OutputRadioButton_19  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_19.setDisabled )
        
        QObject.connect( self.InputRadioButton_20  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_20.setEnabled )
        QObject.connect( self.InputRadioButton_20  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_20.setDisabled )        
        QObject.connect(self.OutputRadioButton_20  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_20.setEnabled )
        QObject.connect(self.OutputRadioButton_20  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_20.setDisabled )
        
        QObject.connect( self.InputRadioButton_21  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_21.setEnabled )
        QObject.connect( self.InputRadioButton_21  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_21.setDisabled )        
        QObject.connect(self.OutputRadioButton_21  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_21.setEnabled )
        QObject.connect(self.OutputRadioButton_21  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_21.setDisabled )
        
        QObject.connect( self.InputRadioButton_22  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_22.setEnabled )
        QObject.connect( self.InputRadioButton_22  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_22.setDisabled )        
        QObject.connect(self.OutputRadioButton_22  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_22.setEnabled )
        QObject.connect(self.OutputRadioButton_22  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_22.setDisabled )
        
        QObject.connect( self.InputRadioButton_23  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_23.setEnabled )
        QObject.connect( self.InputRadioButton_23  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_23.setDisabled )        
        QObject.connect(self.OutputRadioButton_23  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_23.setEnabled )
        QObject.connect(self.OutputRadioButton_23  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_23.setDisabled )
        
        QObject.connect( self.InputRadioButton_24  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_24.setEnabled )
        QObject.connect( self.InputRadioButton_24  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_24.setDisabled )        
        QObject.connect(self.OutputRadioButton_24  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_24.setEnabled )
        QObject.connect(self.OutputRadioButton_24  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_24.setDisabled )
        
        QObject.connect( self.InputRadioButton_25  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_25.setEnabled )
        QObject.connect( self.InputRadioButton_25  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_25.setDisabled )        
        QObject.connect(self.OutputRadioButton_25  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_25.setEnabled )
        QObject.connect(self.OutputRadioButton_25  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_25.setDisabled )
        
        QObject.connect( self.InputRadioButton_26  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_26.setEnabled )
        QObject.connect( self.InputRadioButton_26  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_26.setDisabled )        
        QObject.connect(self.OutputRadioButton_26  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_26.setEnabled )
        QObject.connect(self.OutputRadioButton_26  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_26.setDisabled )
        
        QObject.connect( self.InputRadioButton_27  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_27.setEnabled )
        QObject.connect( self.InputRadioButton_27  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_27.setDisabled )        
        QObject.connect(self.OutputRadioButton_27  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_27.setEnabled )
        QObject.connect(self.OutputRadioButton_27  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_27.setDisabled )
        
        QObject.connect( self.InputRadioButton_28  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_28.setEnabled )
        QObject.connect( self.InputRadioButton_28  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_28.setDisabled )        
        QObject.connect(self.OutputRadioButton_28  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_28.setEnabled )
        QObject.connect(self.OutputRadioButton_28  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_28.setDisabled )
        
        QObject.connect( self.InputRadioButton_29  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_29.setEnabled )
        QObject.connect( self.InputRadioButton_29  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_29.setDisabled )        
        QObject.connect(self.OutputRadioButton_29  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_29.setEnabled )
        QObject.connect(self.OutputRadioButton_29  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_29.setDisabled )
        
        QObject.connect( self.InputRadioButton_30  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_30.setEnabled )
        QObject.connect( self.InputRadioButton_30  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_30.setDisabled )        
        QObject.connect(self.OutputRadioButton_30  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_30.setEnabled )
        QObject.connect(self.OutputRadioButton_30  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_30.setDisabled )
        
        QObject.connect( self.InputRadioButton_31  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_31.setEnabled )
        QObject.connect( self.InputRadioButton_31  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_31.setDisabled )        
        QObject.connect(self.OutputRadioButton_31  , SIGNAL("clicked(bool)") ,  self.OutputLevelBox_31.setEnabled )
        QObject.connect(self.OutputRadioButton_31  , SIGNAL("clicked(bool)") ,   self.InputLevelBox_31.setDisabled )
        
        
        self.Generate_Button.clicked.connect(self.GenerateFiles)
        self.Main_tabWidget.setCurrentIndex(0)
        self.MCAL_tabWidget.setCurrentIndex(0)
        self.PinsCards.setCurrentIndex(25)
        self.tabWidget_3.setCurrentIndex(0)


        QMetaObject.connectSlotsByName(Form)
    # setupUi

    def retranslateUi(self, Form):
        Form.setWindowTitle(QCoreApplication.translate("Form", u"ATmega32 Config", None))
#if QT_CONFIG(tooltip)
        self.MCAL_tabWidget.setToolTip(QCoreApplication.translate("Form", u"<html><head/><body><p><br/></p></body></html>", None))
#endif // QT_CONFIG(tooltip)
        self.PIN_comboBox.setItemText(0, QCoreApplication.translate("Form", u"PIN_0", None))
        self.PIN_comboBox.setItemText(1, QCoreApplication.translate("Form", u"PIN_1", None))
        self.PIN_comboBox.setItemText(2, QCoreApplication.translate("Form", u"PIN_2", None))
        self.PIN_comboBox.setItemText(3, QCoreApplication.translate("Form", u"PIN_3", None))
        self.PIN_comboBox.setItemText(4, QCoreApplication.translate("Form", u"PIN_4", None))
        self.PIN_comboBox.setItemText(5, QCoreApplication.translate("Form", u"PIN_5", None))
        self.PIN_comboBox.setItemText(6, QCoreApplication.translate("Form", u"PIN_6", None))
        self.PIN_comboBox.setItemText(7, QCoreApplication.translate("Form", u"PIN_7", None))
        self.PIN_comboBox.setItemText(8, QCoreApplication.translate("Form", u"PIN_8", None))
        self.PIN_comboBox.setItemText(9, QCoreApplication.translate("Form", u"PIN_9", None))
        self.PIN_comboBox.setItemText(10, QCoreApplication.translate("Form", u"PIN_10", None))
        self.PIN_comboBox.setItemText(11, QCoreApplication.translate("Form", u"PIN_11", None))
        self.PIN_comboBox.setItemText(12, QCoreApplication.translate("Form", u"PIN_12", None))
        self.PIN_comboBox.setItemText(13, QCoreApplication.translate("Form", u"PIN_13", None))
        self.PIN_comboBox.setItemText(14, QCoreApplication.translate("Form", u"PIN_14", None))
        self.PIN_comboBox.setItemText(15, QCoreApplication.translate("Form", u"PIN_15", None))
        self.PIN_comboBox.setItemText(16, QCoreApplication.translate("Form", u"PIN_16", None))
        self.PIN_comboBox.setItemText(17, QCoreApplication.translate("Form", u"PIN_17", None))
        self.PIN_comboBox.setItemText(18, QCoreApplication.translate("Form", u"PIN_18", None))
        self.PIN_comboBox.setItemText(19, QCoreApplication.translate("Form", u"PIN_19", None))
        self.PIN_comboBox.setItemText(20, QCoreApplication.translate("Form", u"PIN_20", None))
        self.PIN_comboBox.setItemText(21, QCoreApplication.translate("Form", u"PIN_21", None))
        self.PIN_comboBox.setItemText(22, QCoreApplication.translate("Form", u"PIN_22", None))
        self.PIN_comboBox.setItemText(23, QCoreApplication.translate("Form", u"PIN_23", None))
        self.PIN_comboBox.setItemText(24, QCoreApplication.translate("Form", u"PIN_24", None))
        self.PIN_comboBox.setItemText(25, QCoreApplication.translate("Form", u"PIN_25", None))
        self.PIN_comboBox.setItemText(26, QCoreApplication.translate("Form", u"PIN_26", None))
        self.PIN_comboBox.setItemText(27, QCoreApplication.translate("Form", u"PIN_27", None))
        self.PIN_comboBox.setItemText(28, QCoreApplication.translate("Form", u"PIN_28", None))
        self.PIN_comboBox.setItemText(29, QCoreApplication.translate("Form", u"PIN_29", None))
        self.PIN_comboBox.setItemText(30, QCoreApplication.translate("Form", u"PIN_30", None))
        self.PIN_comboBox.setItemText(31, QCoreApplication.translate("Form", u"PIN_31", None))

        self.label.setText(QCoreApplication.translate("Form", u"Select Configuration PIN", None))
        self.PinNum_0.setTitle(QCoreApplication.translate("Form", u"Pin 0", None))
        self.DirectionBox_0.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_0.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_0.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_0.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_0.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_0.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_0.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_0.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_0.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_1.setTitle(QCoreApplication.translate("Form", u"Pin 1", None))
        self.DirectionBox_1.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_1.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_1.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_1.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_1.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_1.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_1.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_1.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_1.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_2.setTitle(QCoreApplication.translate("Form", u"Pin 2", None))
        self.DirectionBox_2.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_2.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_2.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_2.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_2.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton2.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_2.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_2.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_2.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_3.setTitle(QCoreApplication.translate("Form", u"Pin 3", None))
        self.DirectionBox_3.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_3.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_3.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_3.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_3.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_3.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_3.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_3.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_3.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_4.setTitle(QCoreApplication.translate("Form", u"Pin 4", None))
        self.DirectionBox_4.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_4.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_4.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_4.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_4.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_4.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_4.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_4.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_4.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_5.setTitle(QCoreApplication.translate("Form", u"Pin 5", None))
        self.DirectionBox_5.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_5.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_5.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_5.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_5.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_5.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_5.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_5.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_5.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_6.setTitle(QCoreApplication.translate("Form", u"Pin 6", None))
        self.DirectionBox_6.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_6.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_6.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_6.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_6.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_6.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_6.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_6.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_6.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_7.setTitle(QCoreApplication.translate("Form", u"Pin 7", None))
        self.DirectionBox_7.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_7.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_7.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_7.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_7.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_7.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_7.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_7.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_7.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_8.setTitle(QCoreApplication.translate("Form", u"Pin 8", None))
        self.DirectionBox_8.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_8.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_8.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_8.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_8.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_8.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_8.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_8.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_8.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_9.setTitle(QCoreApplication.translate("Form", u"Pin 9", None))
        self.DirectionBox_9.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_9.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_9.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_9.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_9.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_9.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_9.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_9.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_9.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_10.setTitle(QCoreApplication.translate("Form", u"Pin 10", None))
        self.DirectionBox_10.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_10.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_10.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_10.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_10.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_10.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_10.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_10.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_10.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_11.setTitle(QCoreApplication.translate("Form", u"Pin 11", None))
        self.DirectionBox_11.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_11.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_11.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_11.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_11.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_11.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_11.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_11.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_11.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_12.setTitle(QCoreApplication.translate("Form", u"Pin 12", None))
        self.DirectionBox_12.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_12.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_12.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_12.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_12.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_12.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_12.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_12.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_12.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_13.setTitle(QCoreApplication.translate("Form", u"Pin 13", None))
        self.DirectionBox_13.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_13.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_13.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_13.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_13.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_13.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_13.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_13.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_13.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_14.setTitle(QCoreApplication.translate("Form", u"Pin 14", None))
        self.DirectionBox_14.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_14.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_14.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_14.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_14.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_14.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_14.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_14.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_14.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_15.setTitle(QCoreApplication.translate("Form", u"Pin 15", None))
        self.DirectionBox_15.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_15.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_15.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_15.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_15.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_15.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_15.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_15.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_15.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_16.setTitle(QCoreApplication.translate("Form", u"Pin 16", None))
        self.DirectionBox_16.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_16.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_16.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_16.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_16.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_16.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_16.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_16.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_16.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_17.setTitle(QCoreApplication.translate("Form", u"Pin 17", None))
        self.DirectionBox_17.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_17.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_17.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_17.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_17.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_17.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_17.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_17.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_17.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_18.setTitle(QCoreApplication.translate("Form", u"Pin 18", None))
        self.DirectionBox_18.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_18.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_18.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_18.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_18.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_18.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_18.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_18.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_18.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_19.setTitle(QCoreApplication.translate("Form", u"Pin 19", None))
        self.DirectionBox_19.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_19.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_19.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_19.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_19.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_19.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_19.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_19.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_19.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_20.setTitle(QCoreApplication.translate("Form", u"Pin 20", None))
        self.DirectionBox_20.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_20.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_20.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_20.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_20.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_20.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_20.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_20.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_20.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_21.setTitle(QCoreApplication.translate("Form", u"Pin 21", None))
        self.DirectionBox_21.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_21.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_21.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_21.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_21.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_21.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_21.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_21.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_21.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_22.setTitle(QCoreApplication.translate("Form", u"Pin 22", None))
        self.DirectionBox_22.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_22.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_22.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_22.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_22.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_22.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_22.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_22.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_22.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_23.setTitle(QCoreApplication.translate("Form", u"Pin 23", None))
        self.DirectionBox_23.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_23.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_23.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_23.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_23.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_23.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_23.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_23.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_23.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_24.setTitle(QCoreApplication.translate("Form", u"Pin 24", None))
        self.DirectionBox_24.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_24.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_24.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_24.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_24.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_24.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_24.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_24.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_24.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_25.setTitle(QCoreApplication.translate("Form", u"Pin 25", None))
        self.DirectionBox_25.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_25.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_25.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_25.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_25.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_25.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_25.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_25.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_25.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_26.setTitle(QCoreApplication.translate("Form", u"Pin 26", None))
        self.DirectionBox_26.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_26.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_26.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_26.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_26.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_26.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_26.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_26.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_26.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_27.setTitle(QCoreApplication.translate("Form", u"Pin 27", None))
        self.DirectionBox_27.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_27.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_27.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_27.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_27.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_27.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_27.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_27.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_27.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_28.setTitle(QCoreApplication.translate("Form", u"Pin 28", None))
        self.DirectionBox_28.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_28.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_28.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_28.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_28.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_28.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_28.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_28.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_28.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_29.setTitle(QCoreApplication.translate("Form", u"Pin 29", None))
        self.DirectionBox_29.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_29.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_29.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_29.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_29.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_29.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_29.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_29.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_29.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_30.setTitle(QCoreApplication.translate("Form", u"Pin 30", None))
        self.DirectionBox_30.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_30.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_30.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_30.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_30.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_30.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_30.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_30.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_30.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.PinNum_31.setTitle(QCoreApplication.translate("Form", u"Pin 31", None))
        self.DirectionBox_31.setTitle(QCoreApplication.translate("Form", u"Direction", None))
        self.InputRadioButton_31.setText(QCoreApplication.translate("Form", u"INPUT", None))
        self.OutputRadioButton_31.setText(QCoreApplication.translate("Form", u"OUTPUT", None))
        self.OutputLevelBox_31.setTitle(QCoreApplication.translate("Form", u"Output Level", None))
        self.HighRadioButton_31.setText(QCoreApplication.translate("Form", u"High", None))
        self.LowRadioButton_31.setText(QCoreApplication.translate("Form", u"Low", None))
        self.InputLevelBox_31.setTitle(QCoreApplication.translate("Form", u"Input Level", None))
        self.PullUpRadioButton_31.setText(QCoreApplication.translate("Form", u"Pull Up", None))
        self.HighImpButton_31.setText(QCoreApplication.translate("Form", u"High Imp", None))
        self.MCAL_tabWidget.setTabText(self.MCAL_tabWidget.indexOf(self.DIO_tab), QCoreApplication.translate("Form", u"DIO", None))
        self.MCAL_tabWidget.setTabText(self.MCAL_tabWidget.indexOf(self.ADC_tab), QCoreApplication.translate("Form", u"ADC", None))
        self.Main_tabWidget.setTabText(self.Main_tabWidget.indexOf(self.MCAL_tab), QCoreApplication.translate("Form", u"MCAL", None))
        self.tabWidget_3.setTabText(self.tabWidget_3.indexOf(self.LED_tab), QCoreApplication.translate("Form", u"LED", None))
        self.tabWidget_3.setTabText(self.tabWidget_3.indexOf(self.LCD_tab), QCoreApplication.translate("Form", u"LCD", None))
        self.Main_tabWidget.setTabText(self.Main_tabWidget.indexOf(self.HAL_tab), QCoreApplication.translate("Form", u"HAL", None))
        self.OutputPathBox.setTitle(QCoreApplication.translate("Form", u"Output Path", None))
        self.Browse_Button.setText(QCoreApplication.translate("Form", u"Browse", None))
        self.Generate_Button.setText(QCoreApplication.translate("Form", u"Generate", None))
        self.MCAL_groupBox.setTitle(QCoreApplication.translate("Form", u"MCAL", None))
        self.DIO_CheckBox.setText(QCoreApplication.translate("Form", u"DIO", None))
        self.ADC_CheckBox.setText(QCoreApplication.translate("Form", u"ADC", None))
        self.HAL_groupBox.setTitle(QCoreApplication.translate("Form", u"HAL", None))
        self.LED_checkBox.setText(QCoreApplication.translate("Form", u"LED", None))
        self.LCD_checkBox.setText(QCoreApplication.translate("Form", u"LCD", None))
        self.Main_tabWidget.setTabText(self.Main_tabWidget.indexOf(self.Generate_tab), QCoreApplication.translate("Form", u"Generate", None))
    # retranslateUi
    
    
    def ParseTree(self):
        
        tree = ET.parse('pins.xml')
        root = tree.getroot()
        PinDict={}
        for Pins in root[0][0]:
            PinDict[Pins.tag]=Pins.attrib
        return PinDict
    
    
    def GenerateFiles(self):
    
        FilesPath = self.filePathLineEdit.text()
        #DateTime  = time(now())
        if(self.DIO_CheckBox.isChecked()):
            DIO_path = FilesPath + r'\Port_cfg.h'
            File = open(DIO_path , 'w')
            File.write("/***************************************\n")
            File.write(" * Port_Cfg.h                           \n")
            File.write(" *                                      \n")  
            File.write(" *  Created on:  "+datetime.now().strftime("%c")+"\n")
            File.write(" *      Author: Youssef Moussa          \n")  
            File.write(" *                                      \n")
            File.write(" ***************************************\n")
            
            File.write("#ifndef PORT_CFG_H_						\n")
            File.write("#define PORT_CFG_H_						\n")
            File.write("									           	\n")
            File.write("#define PORT_u8OUTPUT_LOW            \t1    \n") 
            File.write("#define PORT_u8OUTPUT_HIGH           \t2    \n")  
            File.write("#define PORT_u8INPUT_PULL_UP         \t3    \n")  
            File.write("#define PORT_u8INPUT_HIGH_IMP        \t4    \n")  
            File.write("\n\n\n\n")
            
            #Check on every page in PINCareds 
        #pin0
            if(self.InputRadioButton_0.isChecked()):
                if(self.PullUpRadioButton_0.isChecked()):
                    File.write("#define PORT_u8PIN_0_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_0_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_0.isChecked()):
                    File.write("#define PORT_u8PIN_0_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_0_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin1
            if(self.InputRadioButton_1.isChecked()):
                if(self.PullUpRadioButton_1.isChecked()):
                    File.write("#define PORT_u8PIN_1_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_1_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_1.isChecked()):
                    File.write("#define PORT_u8PIN_1_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_1_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin2
            if(self.InputRadioButton_2.isChecked()):
                if(self.PullUpRadioButton_2.isChecked()):
                    File.write("#define PORT_u8PIN_2_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_2_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_2.isChecked()):
                    File.write("#define PORT_u8PIN_2_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_2_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin3
            if(self.InputRadioButton_3.isChecked()):
                if(self.PullUpRadioButton_3.isChecked()):
                    File.write("#define PORT_u8PIN_3_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_3_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_3.isChecked()):
                    File.write("#define PORT_u8PIN_3_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_3_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin4
            if(self.InputRadioButton_4.isChecked()):
                if(self.PullUpRadioButton_4.isChecked()):
                    File.write("#define PORT_u8PIN_4_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_4_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_4.isChecked()):
                    File.write("#define PORT_u8PIN_4_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_4_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin5
            if(self.InputRadioButton_5.isChecked()):
                if(self.PullUpRadioButton_5.isChecked()):
                    File.write("#define PORT_u8PIN_5_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_5_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_5.isChecked()):
                    File.write("#define PORT_u8PIN_5_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_5_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin6
            if(self.InputRadioButton_6.isChecked()):
                if(self.PullUpRadioButton_6.isChecked()):
                    File.write("#define PORT_u8PIN_6_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_6_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_6.isChecked()):
                    File.write("#define PORT_u8PIN_6_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_6_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin7
            if(self.InputRadioButton_7.isChecked()):
                if(self.PullUpRadioButton_7.isChecked()):
                    File.write("#define PORT_u8PIN_7_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_7_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_7.isChecked()):
                    File.write("#define PORT_u8PIN_7_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_7_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin8
            if(self.InputRadioButton_8.isChecked()):
                if(self.PullUpRadioButton_8.isChecked()):
                    File.write("#define PORT_u8PIN_8_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_8_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_8.isChecked()):
                    File.write("#define PORT_u8PIN_8_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_8_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin9
            if(self.InputRadioButton_9.isChecked()):
                if(self.PullUpRadioButton_9.isChecked()):
                    File.write("#define PORT_u8PIN_9_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_9_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_9.isChecked()):
                    File.write("#define PORT_u8PIN_9_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_9_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin10
            if(self.InputRadioButton_10.isChecked()):
                if(self.PullUpRadioButton_10.isChecked()):
                    File.write("#define PORT_u8PIN_10_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_10_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_10.isChecked()):
                    File.write("#define PORT_u8PIN_10_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_10_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin11
            if(self.InputRadioButton_11.isChecked()):
                if(self.PullUpRadioButton_11.isChecked()):
                    File.write("#define PORT_u8PIN_11_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_11_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_11.isChecked()):
                    File.write("#define PORT_u8PIN_11_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_11_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin12
            if(self.InputRadioButton_12.isChecked()):
                if(self.PullUpRadioButton_12.isChecked()):
                    File.write("#define PORT_u8PIN_12_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_12_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_12.isChecked()):
                    File.write("#define PORT_u8PIN_12_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_12_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin13
            if(self.InputRadioButton_13.isChecked()):
                if(self.PullUpRadioButton_13.isChecked()):
                    File.write("#define PORT_u8PIN_13_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_13_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_13.isChecked()):
                    File.write("#define PORT_u8PIN_13_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_13_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin14
            if(self.InputRadioButton_14.isChecked()):
                if(self.PullUpRadioButton_14.isChecked()):
                    File.write("#define PORT_u8PIN_14_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_14_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_14.isChecked()):
                    File.write("#define PORT_u8PIN_14_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_14_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin15
            if(self.InputRadioButton_15.isChecked()):
                if(self.PullUpRadioButton_15.isChecked()):
                    File.write("#define PORT_u8PIN_15_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_15_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_15.isChecked()):
                    File.write("#define PORT_u8PIN_15_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_15_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin16
            if(self.InputRadioButton_16.isChecked()):
                if(self.PullUpRadioButton_16.isChecked()):
                    File.write("#define PORT_u8PIN_16_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_16_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_16.isChecked()):
                    File.write("#define PORT_u8PIN_16_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_16_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin17
            if(self.InputRadioButton_17.isChecked()):
                if(self.PullUpRadioButton_17.isChecked()):
                    File.write("#define PORT_u8PIN_17_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_17_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_17.isChecked()):
                    File.write("#define PORT_u8PIN_17_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_17_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin18
            if(self.InputRadioButton_18.isChecked()):
                if(self.PullUpRadioButton_18.isChecked()):
                    File.write("#define PORT_u8PIN_18_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_18_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_18.isChecked()):
                    File.write("#define PORT_u8PIN_18_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_18_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin19
            if(self.InputRadioButton_19.isChecked()):
                if(self.PullUpRadioButton_19.isChecked()):
                    File.write("#define PORT_u8PIN_19_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_19_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_19.isChecked()):
                    File.write("#define PORT_u8PIN_19_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_19_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin20
            if(self.InputRadioButton_20.isChecked()):
                if(self.PullUpRadioButton_20.isChecked()):
                    File.write("#define PORT_u8PIN_20_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_20_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_20.isChecked()):
                    File.write("#define PORT_u8PIN_20_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_20_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin21
            if(self.InputRadioButton_21.isChecked()):
                if(self.PullUpRadioButton_21.isChecked()):
                    File.write("#define PORT_u8PIN_21_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_21_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_21.isChecked()):
                    File.write("#define PORT_u8PIN_21_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_21_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin22
            if(self.InputRadioButton_22.isChecked()):
                if(self.PullUpRadioButton_22.isChecked()):
                    File.write("#define PORT_u8PIN_22_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_22_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_22.isChecked()):
                    File.write("#define PORT_u8PIN_22_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_22_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin23
            if(self.InputRadioButton_23.isChecked()):
                if(self.PullUpRadioButton_23.isChecked()):
                    File.write("#define PORT_u8PIN_23_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_23_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_23.isChecked()):
                    File.write("#define PORT_u8PIN_23_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_23_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin24
            if(self.InputRadioButton_24.isChecked()):
                if(self.PullUpRadioButton_24.isChecked()):
                    File.write("#define PORT_u8PIN_24_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_24_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_24.isChecked()):
                    File.write("#define PORT_u8PIN_24_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_24_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin25
            if(self.InputRadioButton_25.isChecked()):
                if(self.PullUpRadioButton_25.isChecked()):
                    File.write("#define PORT_u8PIN_25_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_25_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_25.isChecked()):
                    File.write("#define PORT_u8PIN_25_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_25_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin26
            if(self.InputRadioButton_26.isChecked()):
                if(self.PullUpRadioButton_26.isChecked()):
                    File.write("#define PORT_u8PIN_26_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_26_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_26.isChecked()):
                    File.write("#define PORT_u8PIN_26_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_26_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin27
            if(self.InputRadioButton_27.isChecked()):
                if(self.PullUpRadioButton_27.isChecked()):
                    File.write("#define PORT_u8PIN_27_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_27_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_27.isChecked()):
                    File.write("#define PORT_u8PIN_27_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_27_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin28
            if(self.InputRadioButton_28.isChecked()):
                if(self.PullUpRadioButton_28.isChecked()):
                    File.write("#define PORT_u8PIN_28_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_28_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_28.isChecked()):
                    File.write("#define PORT_u8PIN_28_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_28_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin29
            if(self.InputRadioButton_29.isChecked()):
                if(self.PullUpRadioButton_29.isChecked()):
                    File.write("#define PORT_u8PIN_29_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_29_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_29.isChecked()):
                    File.write("#define PORT_u8PIN_29_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_29_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin30
            if(self.InputRadioButton_30.isChecked()):
                if(self.PullUpRadioButton_30.isChecked()):
                    File.write("#define PORT_u8PIN_30_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_30_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_30.isChecked()):
                    File.write("#define PORT_u8PIN_30_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_30_INIT_MODE		PORT_u8OUTPUT_LOW \n")
		  #pin31
            if(self.InputRadioButton_31.isChecked()):
                if(self.PullUpRadioButton_31.isChecked()):
                    File.write("#define PORT_u8PIN_31_INIT_MODE		PORT_u8INPUT_PULL_UP \n")
                else :
                    File.write("#define PORT_u8PIN_31_INIT_MODE		PORT_u8INPUT_HIGH_IMP \n")
            else :
                if(self.HighRadioButton_31.isChecked()):
                    File.write("#define PORT_u8PIN_31_INIT_MODE		PORT_u8OUTPUT_HIGH \n")
                else :
                    File.write("#define PORT_u8PIN_31_INIT_MODE		PORT_u8OUTPUT_LOW \n")

                    
            
            
            File.close()
            
  
    
app    = QApplication(sys.argv)
Widget = QWidget()
Form   = Ui_Form()
Form.setupUi(Widget)
Widget.show()
sys.exit(app.exec_())