mirror of
https://github.com/brmlab/edubrm.git
synced 2025-06-08 04:43:59 +02:00
add SSP commands
This commit is contained in:
parent
1e2e2587bb
commit
cb8ea5c0e5
5 changed files with 36 additions and 8 deletions
|
@ -72,14 +72,14 @@ class ModuleDebugWidget(QWidget):
|
|||
|
||||
@pyqtSlot()
|
||||
def on_comboAMP1_changed(self):
|
||||
c = self.ui.comboAMP1c.currentIndex() + 1
|
||||
g = (1,2,4,5,8,10,16,32)[self.ui.comboAMP1g.currentIndex()]
|
||||
c = self.ui.comboAMP1c.currentIndex()
|
||||
g = self.ui.comboAMP1g.currentIndex()
|
||||
self.dev.opamp(1, c, g)
|
||||
|
||||
@pyqtSlot()
|
||||
def on_comboAMP2_changed(self):
|
||||
c = self.ui.comboAMP2c.currentIndex() + 1
|
||||
g = (1,2,4,5,8,10,16,32)[self.ui.comboAMP2g.currentIndex()]
|
||||
c = self.ui.comboAMP2c.currentIndex()
|
||||
g = self.ui.comboAMP2g.currentIndex()
|
||||
self.dev.opamp(2, c, g)
|
||||
|
||||
@pyqtSlot()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue