def loop(self, sleep_time=<NUM_LIT:1>, callback=None):
self.log("<STR_LIT>")<EOL>self._running = True<EOL>self.trigger_init()<EOL>self._scan(trigger=False)  <EOL>if self._warn:<EOL><INDENT>print(
Goes into a blocking IO loop. If polling is used, the sleep_time is
the interval, in seconds, between polls.