-from pprint import pprint
+from time import sleep
from termplotter import TermPlotter
tpx = TermPlotter([-128, 127], width=80)
+
+# devboard is assumed to be imported as:
+#
+# import devboard as dev
+#
+# and already initialized/setup to the desired state
+#
+
+#helpers
+chain = dev.chain
+mux = dev.mux
+arb = dev.arb
+amux = dev.amux
+adc = dev.adc
+dac = dev.dac
+
+
def bisect(fset, limits=[0.0, 1.0], dgmin=None, up='uk', down='dj'):
"""Given a one-input function fset and list of limits, interactively bisect
the range by sending fset(guess) and asking to go (u)p or (d)own for the