Thanks for the reply, That print statement is there to check what the reply from the BMA222E device is, should I be using int c instead of byte c?
I changed my main loop to:
void loop()
{
byte c;
SPI.beginTransaction(SPISettings(1000000, LSBFIRST, SPI_MODE0));
digitalWrite(17, LOW);
c = SPI.transfer(0x08);
digitalWrite(17, HIGH);
SPI.endTransaction();
SerialUSB.println("Temp:"+c);
}
But it still doesn't seem to work. Am I still missing something?