diff --git a/software/device.py b/software/device.py index 6754197..5905537 100644 --- a/software/device.py +++ b/software/device.py @@ -31,6 +31,17 @@ class Device: usb.util.endpoint_direction(e.bEndpointAddress) == usb.util.ENDPOINT_IN) else: print 'device init' + self.pwm(1, 0) + self.pwm(2, 0) +# self.ddswave(0) # not implemented + self.ddsfreq(0) + self.opamp(1, 0, 0) + self.opamp(2, 0, 0) + self.switches(0) + self.setpins(0) + self.setout(1, 0) + self.setout(2, 0) + self.setout(3, 0) # sets pwm (which=1,2), (duty=16bit) def pwm(self, which, duty): diff --git a/software/modules/ModuleDebug.ui b/software/modules/ModuleDebug.ui index 3c4d26f..d008120 100644 --- a/software/modules/ModuleDebug.ui +++ b/software/modules/ModuleDebug.ui @@ -136,17 +136,11 @@ Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - 1 - - - 1 + 0 50000000 - - 1 - 8 @@ -160,9 +154,6 @@ 81 - - 1 - 50000000