Shiftout Problem
A Krish
Posts: 27
Hey Guys ...
I want to connect 2 indepenedent BS2 boards.
I have checked the help and used the command at BS2 "A":
Shiftout Pin No, Clk Pin, MSBFIRST, [noparse][[/noparse]Data]
At BS2 "B" I have used the code:
SHIftin Pin No, Clk Pin, MSBFIRST, [noparse][[/noparse]Received data]
Now my problem is .. when I give this command .. I always get a zero value at Bs2"A" and Bs"B".
I want to connect 2 indepenedent BS2 boards.
I have checked the help and used the command at BS2 "A":
Shiftout Pin No, Clk Pin, MSBFIRST, [noparse][[/noparse]Data]
At BS2 "B" I have used the code:
SHIftin Pin No, Clk Pin, MSBFIRST, [noparse][[/noparse]Received data]
Now my problem is .. when I give this command .. I always get a zero value at Bs2"A" and Bs"B".
Comments
And the 220 ohm resistor between two different BS2's is also an excellent idea to reduce inadvertent damage.