digitalWrite(10,HIGH);
digitalWrite(4,HIGH);
Don't you think that a pinMode() call for these pins is also necessary? Otherwise you just activate a very weak pull-up resistor which might not be enough to set the CS of the devices to inactive.
digitalWrite(10,HIGH);
digitalWrite(4,HIGH);
Don't you think that a pinMode() call for these pins is also necessary? Otherwise you just activate a very weak pull-up resistor which might not be enough to set the CS of the devices to inactive.