sx_set_channel should write a channel into sx_raw_bits_in
Fixed sx_set_channel: writing to sx_raw_bits_out_data
Writing in sx_raw_bits_out_dir to show that bits need to be written to the bus.
Implemented wrap around for writing in sx_raw_out arrays.
Did tabs to softtabs(4) on main.c.
Added TODO for "resetting sx_raw_bits_dir" in sx.c interrupt function.
Fixed bitshifting for writing
Convinience commands for reading channels work so far...
Writing a channel over serial works a little (when transmitting data, the bytes is changed, but the value is not correct).
Additionally, the value is set in an endless loop (as expected) because the sx_raw_bites_dir array is not reset after writing.
Added Jan's changes from the usb_lowlat branch
Fixed minor bit order issues