def GET(self): setPin.setGpioOutPinState(20, True) print "pin 20 on received...." return render.welcome("pin 20 on received....");
def GET(self): setPin.setGpioOutPinState(19,False) print "pin 19 off received...." return render.welcome("pin 19 off received....");
def GET(self): print "pin 21 on received...." setPin.setGpioOutPinState(21, True) return render.welcome("pin 21 on received....");
import setPin as setPin print "pin21Off: main" setPin.setGpioOutPinState(21, False)
import setPin as setPin print "pin19Off: main" setPin.setGpioOutPinState(19, False)
import setPin as setPin print "pin20On: main" setPin.setGpioOutPinState(20, True)
import setPin as setPin print "pin19On: main" setPin.setGpioOutPinState(19, True)