Sending the lower bytes should work in both cases, for printbin the overlaid variable is just a piece of memory. Internal representation of any assigned number to a Double variable however is much different to a Long. A simple test is to assign a number to sndpin(1), don't assign anything to the Double and check what you get out from printbin then.
↧