def open(self, number=<NUM_LIT:0>):
self.inport = mido.open_input(find_faderport_input_name(number))<EOL>self.outport = mido.open_output(find_faderport_output_name(number))<EOL>self.outport.send(mido.Message.from_bytes([<NUM_LIT>, <NUM_LIT:0>, <NUM_LIT>]))  <EOL>time.sleep(<NUM_LIT>)<EOL>self.inport.callback = self._message_callback<EOL>self.on_open()<EOL>
Open the FaderPort and register a callback so we can send and
receive MIDI messages.
:param number: 0 unless you've got more than one FaderPort attached.
               In which case 0 is the first, 1 is the second etc
               I only have access to a single device so I can't
               actually test this.