You've lost me a bit with the Serial.println.
And this:
if(i==2){
b = B00000010;
}
Binary is just another way of looking at a number. You may as well have written:
if(i==2){
b = 2;
}
You can see that doesn't achieve much, right?
You are confusing a number of things here. I suggest you read this for a start:
Then post a link to this device. If you are still confused we can talk then. Hint: you don't want to do Serial.println. You are swapping from SPI to async serial. They are different things.