Example: For a set of six status inputs as shown for the ASCII data file in subclause 6.4.(0,0,0,0,1,1), a) Write these status inputs as a binary number (110000), recognizing that the channels are listed low bits first in the ASCII data file. b) Then pad the number out to a 16 bit number (0000 0000 0011 0000). c) Translate this to a hexadecimal value (00 30). d) The data is then stored in LSB/MSB format (30 00). Explain, please, how to record? There is a file with such lines:
110000 110100 110001 It is necessary to correctly write each line. How to implement it in c ++.