The problem is that I need to read all digital inputs as one, i.e. When inputs 3 and 7 are at 'HIGH' state, I expect the output to be: output = ['0', '0', '0', '1', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0'] Currently, I repeat the attach for each channel (attach, wait for event, ap...