mcp4131 and attiny85

CrossRoads:
Huh! I can't get it to compile for an Uno in 1.0 either!
Something odd going on with #define, I had to change the pin definitions to this:

byte CS = 2;

byte dataPin  = 3;
byte clockPin  = 4;
int command_data = 0;

void setup() {

pinMode(CS, OUTPUT);
pinMode(dataPin, OUTPUT);
pinMode(clockPin, OUTPUT);

}

void loop() {
// command_data = whatever it's being changed to
 
digitalWrite (CS, LOW);
shiftOut (dataPin, clockPin, MSBFIRST, highByte (command_data) );
shiftOut (dataPin, clockPin, MSBFIRST, lowByte (command_data) );
digitalWrite (CS, HIGH);

}

Works a treat!! Thanks!