1. Ben Bass
  2. pylibftdi
Issue #6 new

make BusInput / BusOutput descriptors, which can somehow automate setting of direction on target device instance

Ben Bass
repo owner created an issue

e.g.

{{{

!python

class A(object): in4 = BusInput(0, 4) out4 = BusOutput(4, 4)

def __init__(self):
    self.device = BitBangDevice()  # no need to specify direction!

}}}

Comments (0)

  1. Log in to comment