Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/i/piface-HEAD/python/demos/twitter_chicken/raspberry_pi_farm.py   piface(Download)
    def start_wobble(self):
        """Starts wobbling the chicken"""
        self.turn_on()
        if VERBOSE_MODE:
            print "Chicken has started wobbling."

src/p/i/piface-HEAD/python/demos/racingpi/game.py   piface(Download)
    def drive(self, drive_period):
        """Move the car for the specified amount of seconds"""
        self.turn_on()
        time.sleep(drive_period)
        self.turn_off()