hi I am reading from a sensor that outputs 1 bit of each of its 8 inputs on one of its outputs when the clock line is toggled. so the output is
byte
data1 msb24 , data2 msb24,.....
data1 bit23...

so it would be great to rotate them into their own long ints....
how might i do this?