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

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

src/p/i/pifacedigitalio-HEAD/examples/whackamole.py   pifacedigitalio(Download)
import threading
from time import sleep
from random import randint, random
import pifacedigitalio
 

src/p/i/pifacedigitalio-HEAD/examples/simplewebcontrol.py   pifacedigitalio(Download)
import http.server
import urllib.parse
import pifacedigitalio
 
 

src/p/i/pifacedigitalio-HEAD/examples/presslights.py   pifacedigitalio(Download)
import pifacedigitalio
 
 
def switch_pressed(event):
    event.chip.output_pins[event.pin_num].turn_on()

src/p/i/pifacedigitalio-HEAD/examples/blink.py   pifacedigitalio(Download)
from time import sleep
import pifacedigitalio
 
 
DELAY = 1.0  # seconds

src/p/i/pifacedigital-emulator-HEAD/pifacedigital_emulator/gui.py   pifacedigital-emulator(Download)
from threading import Barrier
import pifacecommon
import pifacedigitalio
from .pifacedigital_emulator_ui import Ui_pifaceDigitalEmulatorWindow
 

src/p/i/pifacedigital-emulator-HEAD/pifacedigital_emulator/core.py   pifacedigital-emulator(Download)
import pifacecommon.core
import pifacecommon.mcp23s17
import pifacedigitalio
from .gui import run_emulator
 

src/p/i/piface-python-websocket-server-HEAD/server.py   piface-python-websocket-server(Download)
 
# import piface.pfio as pfio
import pifacedigitalio as pfio
pfio.init()
pifacedigital = pfio.PiFaceDigital()

src/p/i/pifacedigitalio-HEAD/tests.testrig.py   pifacedigitalio(Download)
import threading
import pifacecommon
import pifacedigitalio
import argparse
import time

src/p/i/pifacedigitalio-HEAD/tests.py   pifacedigitalio(Download)
import threading
import pifacecommon
import pifacedigitalio
import argparse