Hi everybody.
I do have a small issue..
I try to extract a bit from a byte, but it wont work. Can anyone explain how to do, and what im doing wrong.
I have searched the forum and google, but just cant find a answer.
Codesnippet:
tmp=%01011111
For I=0 to 7
sr_data=tmp.I ' It doesnt work with I here, I have to use a real number like 0-7
sr_clock=1
sr_clock=0
next I
Bookmarks