We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ecc536 commit f873994Copy full SHA for f873994
cedargrove_nau7802.py
@@ -185,13 +185,15 @@ def channel(self):
185
@channel.setter
186
def channel(self, chan=1):
187
"""Select the active channel. Valid channel numbers are 1 and 2."""
188
+
189
if chan == 1:
190
self._c2_chan_select = 0x0
191
elif chan == 2 and self._act_channels == 2:
192
self._c2_chan_select = 0x1
193
else:
194
raise ValueError("Invalid Channel Number")
195
196
+ time.sleep(0.500) # Fixed settling time
197
while not self._pu_cycle_ready:
198
pass
199
0 commit comments