コード例 #1
0
def test_shift3():
    a = ArduinoTree()
    p = a.pin.get(13)
    s = ShiftOut(p, 12, 0, A0=A0)
    s.write_data(0b01010101)
コード例 #2
0
ファイル: ad9850.py プロジェクト: chaitanyaPaikara/AgNEXT
 def shift(self):
     return ShiftOut(self.DATA, self.W_CLK, 0, connection=self.connection)
コード例 #3
0
def test_shift2():
    s = ShiftOut(13, 'A1', 0, A0=A0)
    s.write_data(0b01010101)
コード例 #4
0
def test_shift1():
    s = ShiftOut('D13', 'D12', 0, A0=A0)
    s.write_data(0b01010101)
コード例 #5
0
ファイル: test_shiftout.py プロジェクト: DarkSotM/nanpy
def test_shift3():
    a = ArduinoTree()
    p = a.pin.get(13)
    s = ShiftOut(p, 12, 0, A0=A0)
    s.write_data(0b01010101)
コード例 #6
0
ファイル: test_shiftout.py プロジェクト: DarkSotM/nanpy
def test_shift2():
    s = ShiftOut(13, 'A1', 0, A0=A0)
    s.write_data(0b01010101)
コード例 #7
0
ファイル: test_shiftout.py プロジェクト: DarkSotM/nanpy
def test_shift1():
    s = ShiftOut('D13', 'D12', 0, A0=A0)
    s.write_data(0b01010101)