[/c int CS_pin = 35;//chips select pin is pin 35
int pow_pin = 8;
void setup()
{
pinMode(35, OUTPUT);
pinMode(pow_pin, OUTPUT);
SPI.begin();
Serial.begin(9600);
Serial.println("initializing card.....Please wait");
pinMode(CS_pin, OUTPUT); //chip select pin as output
ode]
//chips select pin is pin 35
What chip? If the chip is hardwired to a pin, you can't change the select pin.
So, you need to provide a lot more information, including ALL of your code.
What PaulS said and:
int CS_pin = 35;//chips select pin is pin 35
int pow_pin = 8;
void setup() {
pinMode(35, OUTPUT);//**********//chips select pin is pin 35
.........
pinMode(CS_pin, OUTPUT); //chip select pin as output
Why are you doing this twice?