how to convert an integer to binary in Arduino?

Please read reply #13 (or reply #015 if you prefer)