Beispiel #1
0
 def GET(self):
   setPin.setGpioOutPinState(20, True)
   print "pin 20 on received...."
   return render.welcome("pin 20 on received....");
Beispiel #2
0
 def GET(self):
   setPin.setGpioOutPinState(19,False)
   print "pin 19 off received...."
   return render.welcome("pin 19 off received....");
Beispiel #3
0
 def GET(self):
   print "pin 21 on received...."
   setPin.setGpioOutPinState(21, True)        
   return render.welcome("pin 21 on received....");
Beispiel #4
0
import setPin as setPin

print "pin21Off: main"
setPin.setGpioOutPinState(21, False)
    
Beispiel #5
0
import setPin as setPin

print "pin19Off: main"
setPin.setGpioOutPinState(19, False)
    
Beispiel #6
0
import setPin as setPin

print "pin20On: main"
setPin.setGpioOutPinState(20, True)
    



Beispiel #7
0
import setPin as setPin

print "pin19On: main"
setPin.setGpioOutPinState(19, True)