I have four multiple bytes that I would like to combine into one 32 bit string that I can output a bit at a time.
I know how to combine the bytes to get a value like
value = Byte1<<24 + Byte2<<16 +; etc.
However I would like to be able to use the shift_right and output_bit functions which need an address rather than a value.
I am fairly new to C programming and would greatly appreciate any help. Thanks.
I know how to combine the bytes to get a value like
value = Byte1<<24 + Byte2<<16 +; etc.
However I would like to be able to use the shift_right and output_bit functions which need an address rather than a value.
I am fairly new to C programming and would greatly appreciate any help. Thanks.