Hi, I'm writing data (8 bits) to a DAQ, but at the moment it's in a unlikeable format. I need to write individual bits as in binary, but can only work out how to do this in decimal, e.g 127 instead of the preferred 0111111. I would also like to arrange this in a bank of 8 toggle switchs, where on represents a 1, and off a 0. Does any one have any ideas on how to accomplish this?
many thanks, tom