Aug-10-2018, 12:47 PM
def dispense(func, solution, t): if solution in ("1","2","3","4","5"): print("solution",solution,"time taken:", t) gpt ={"1":17,"2":18,"3":23,"4":24,"5":27} print("GPIOPORTactivation:",gpt[solution]) print("GPIO High") #GPIO.output(gpt[solution],HIGH) solution, t = func() app.after(t, dispense, func, solution, t) print("GPIO low")#GPIO.output(gpt[solution],LOW)] app = BackGroundFrame() app.mainloop()
def actldis1(self): solution, t = self.lol1() dispense(self.lol1, solution, t)
99 percent of computer problems exists between chair and keyboard.