Breaking up an "unsigned long"


what economical way of extracting parts of ul such 11011011010001000011110111011010 , variables
first 8bits
9th bit
bits 10-14
bits 15-24
last 8bits

"most economical" not well-defined term.  mean it?

normally, present method accomplishing this, , point out how better.

so, how propose proceed this?  haven't seen code yet.



Arduino Forum > Using Arduino > Programming Questions > Breaking up an "unsigned long"


arduino

Comments