Did I find the right examples for you? yes no

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

src/p/i/PiHomeControl-HEAD/closet/ClosetDoor.py   PiHomeControl(Download)
    self._port = port
    try:
      import RPIO
      self.state = "READY"
    except Exception, e:
      try:
        previous_doorOpen = self._doorOpen
        import RPIO
        RPIO.setup(23, RPIO.IN, pull_up_down=RPIO.PUD_UP)
        self._doorOpen = RPIO.input(23)

src/r/p/RPIO-0.10.0/source/RPIO/_RPIO.py   RPIO(Download)
from functools import partial
 
import RPIO
import RPIO._GPIO as _GPIO
 

src/p/i/PiHomeControl-HEAD/Door.py   PiHomeControl(Download)
  def __init__(self, controller):
    CloudLog.log(self._component, "Initializing.")
    self._controller = controller
    try:
      import RPIO
      try:
        previous_doorOpen = self._doorOpen
        import RPIO
        RPIO.setup(23, RPIO.IN, pull_up_down=RPIO.PUD_UP)
        self._doorOpen = RPIO.input(23)

src/r/p/rpi-xmpp-0.0.2/rpi-xmpp/rpi-xmpp.py   rpi-xmpp(Download)
 
import sleekxmpp
import RPIO
 
import sys

src/d/a/DampedServo-HEAD/lego.py   DampedServo(Download)
 
import numpy as np
import RPIO
 
import damped_servo

src/d/a/DampedServo-HEAD/controls.py   DampedServo(Download)
 
import time
import RPIO
 
ix_power = 17

src/q/u/Quadcopter-HEAD/qc.py   Quadcopter(Download)
import logging
from RPIO import PWM
import RPIO
import subprocess
from datetime import datetime