HazardsMind:
[quote author=Coding Badly link=topic=265085.msg1870557#msg1870557 date=1409954558]RE: mirrorInt
Is that going to work on a 32 bit processor?
That issue did come to mind but thinking just for the arduino it should be fine. Maybe I can use sizeof as a multiplier instead of just having 8 as a shifting value.[/quote]
Or you could use unsigned short.