code: def set_sampling_interval(self, interval):
          
          task = asyncio.ensure_future(self.core.set_sampling_interval(interval))
          self.loop.run_until_complete(task)
docs: This method sets the sampling interval for the Firmata loop method
  
          :param interval: time in milliseconds
  
          :returns: No return value