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/simon.py   piface(Download)
 
		sleep(0.001)						# delay
		pin_number = pfio.get_pin_number(event)			# calculate the input pin
 
		if screen_output:

src/p/i/piface-HEAD/python/demos/racingpi/game.py   piface(Download)
 
            # find out which button was pressed
            pin_number = pfio.get_pin_number(pin_bit_pattern)
 
            #print "pin number: %d" % pin_number