code: def enable_reporting(self):
          
          self.reporting = True
          msg = bytearray([REPORT_DIGITAL + self.port_number, 1])
          self.board.sp.write(msg)
  
          for pin in self.pins:
              if pin.mode == INPUT:
                  pin.reporting = True
docs: Enable reporting of values for the whole port.