sine wave using SPI

Next, replace the highByte/lowByte function call with something more direct.
I would split the array into 48, and call two elements at a time

for (i=0; i<48; i=i+2){
PORTB = PORTB & B11111011;  // bit2 low (not 'pin' like I posted before)
SPI.transfer(sine(i));
SPI.transfer(sine(i+1));
PORTB = PORTB | B00000100;  // bit2 high
[code]

[/code]