Looking at your code again
I do not see a "Status" array variable defined but I do see a "s" variable.Code:SHIFTIN DinDout,clk,MSBPOST,[Status\4] ' Get Status LOOP UNTIL s = Ready ' Exit loop when status is ready
Looking at your code again
I do not see a "Status" array variable defined but I do see a "s" variable.Code:SHIFTIN DinDout,clk,MSBPOST,[Status\4] ' Get Status LOOP UNTIL s = Ready ' Exit loop when status is ready
Dave
Always wear safety glasses while programming.
Thanks again.
I think that I tried it before. Type "SHIFTIN DinDout,clk,MSBPOST,[S\4]" instead of "status". But now I tried again. It dont work. Do you think that it is some different depending of witch pins I use? Do I need to try different pins every change I try?
Friendly regards / Lasse
Bookmarks