Changed tranciever to little-endian

(LSB is sent first)
I also defined some macros to make it easier to switch the pins that are
use for data in and out. Since clock is manipulated seperately, I didn't
define that here.