Root/ioscript/try

1# test script for antorcha/whip/led/
2
3#DAT2,DAT3,CMD,VDD,CLK,DAT0,DAT1
4
5SCLK=DAT1
6LCLK=DAT0
7DS=CLK
8
9VDD,DS,SCLK,LCLK
10show
111111 # power off, drive all data lines to 1
12sleep 0.1 # let caps trickle-charge
130000 # power on
14-1-- # send "1"
15--1-
16--0-
17--1- # send another "1"
18--0-
19---1 # latch
20---0
21sleep 1
22-0-- # send "0"
23--1-
24--0-
25---1 # latch
26---0
27sleep 1
28

Archive Download this file

Branches:
master



interactive