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

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

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

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



Example #7
0
import setPin as setPin

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