Bitshifting bytes to form a long var fails!

psyche:
I will try the mods from dhenry!

Oh yes? And what stopped you trying my suggestion in reply #15?

  address = long (a) << 16 | long (b) << 12 | c << 8 | d << 4 | e;

We are up to reply #43 and you act all surprised that a suggestion in reply #41 works. When (apart from the "unsigned" part) that was suggested in reply #15.