No clock when using the SPI library (Uno R3)

el_supremo:
and in that code, this statement won't do what is probably intended and expected:

SPI.transfer(out & 0xff00);

You have to shift the high end byte down to the low order.

SPI.transfer(out >> 8);

Pete

Ahh, goodness, and I missed that reading through the code several times. Thanks! It works now. :slight_smile: