def climbingStairs():
    global scanPass, backData
    scanPassScreen("top")
    thread = threading.Thread(target=reader, args=(True, ))
    thread.start()
    scanPass.mainloop()

    cardData = backData
    cardDataDb = ("rfidNumber = '" + str(cardData) + "'")
    backData = ""
    customerID = gD.getDataWhere("customerID", "loginInfo", cardDataDb)

    Climbing_stairs.main(customerID[0][0])
def climbingStairs():
    global scanPass, backData
    scanPassScreen("top")
    thread = threading.Thread(target=reader, args=(True,))
    thread.start()
    scanPass.mainloop()

    for i in range(3):
        GPIO.output(ledGreen, True)
        sleep(0.3)
        GPIO.output(ledGreen, False)
        sleep(0.3)
    
    cardData = backData
    cardDataDb = ("rfidNumber = '" + str(cardData) + "'")
    backData = ""
    customerID = gD.getDataWhere("customerID", "loginInfo", cardDataDb)

    Climbing_stairs.main(customerID[0][0])
Beispiel #3
0
def climbingStairs():
    global scanPass, backData
    scanPassScreen("top")
    thread = threading.Thread(target=reader, args=(True, ))
    thread.start()
    scanPass.mainloop()

    for i in range(3):
        GPIO.output(ledGreen, True)
        sleep(0.3)
        GPIO.output(ledGreen, False)
        sleep(0.3)

    cardData = backData
    cardDataDb = ("rfidNumber = '" + str(cardData) + "'")
    backData = ""
    customerID = gD.getDataWhere("customerID", "loginInfo", cardDataDb)

    Climbing_stairs.main(customerID[0][0])
def climbingStairs():
    Climbing_stairs.main()
Beispiel #5
0
def climbingStairs():
    Climbing_stairs.main()