Ejemplo n.º 1
0
    def enable_uart_button_OnClick(self,event):
        dlg = wx.MessageDialog(self, 'Enabling UART', ' ', wx.OK|wx.ICON_INFORMATION)
        dlg.ShowModal()
        dlg.Destroy()

        update_comms_settings.disable_ir_setting()
        update_comms_settings.disable_bt_setting()
        self.update_labels()
    def enable_uart_button_OnClick(self, event):
        dlg = wx.MessageDialog(self, "Enabling UART", " ", wx.OK | wx.ICON_INFORMATION)
        dlg.ShowModal()
        dlg.Destroy()

        update_comms_settings.disable_ir_setting()
        update_comms_settings.disable_bt_setting()
        self.update_labels()
Ejemplo n.º 3
0
    def enable_blt_button_OnClick(self,event):
        dlg = wx.MessageDialog(self, 'Enabling Bluetooth', ' ', wx.OK|wx.ICON_INFORMATION)
        dlg.ShowModal()
        dlg.Destroy()

        update_comms_settings.disable_ir_setting()
        if update_comms_settings.check_bt_setting()==False:
            update_comms_settings.enable_bt_setting()
        self.update_labels()
    def enable_blt_button_OnClick(self, event):
        dlg = wx.MessageDialog(self, "Enabling Bluetooth", " ", wx.OK | wx.ICON_INFORMATION)
        dlg.ShowModal()
        dlg.Destroy()

        update_comms_settings.disable_ir_setting()
        if update_comms_settings.check_bt_setting() == False:
            update_comms_settings.enable_bt_setting()
        self.update_labels()