Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use Thread() ?
#5
The way i understand it. The thread isolate the problematic function in this case delai() which is the counter. Thread isolate and run independantly the function. I did erase all the other dels to test if it was the problem. But even if i run only the function as a thread or not, the trouble is still there. led_off1 is just a light and senseur_Del2 is if the door is open or not. In this case if the door is open start the counter delai() you have 10 seconds to enter your code.
When this process is on the clock stop and it wont let activate the numbers on the keyboard. So its impossible to input the code.
I got to fix this by friday. That part doesnt worth many points. Still its a challenge, at least for me. Sad
Reply


Messages In This Thread
How to use Thread() ? - by Frankduc - May-10-2022, 05:42 PM
RE: How to use Thread() ? - by deanhystad - May-10-2022, 07:00 PM
RE: How to use Thread() ? - by Frankduc - May-10-2022, 07:11 PM
RE: How to use Thread() ? - by deanhystad - May-10-2022, 08:53 PM
RE: How to use Thread() ? - by Frankduc - May-10-2022, 09:53 PM
RE: How to use Thread() ? - by deanhystad - May-12-2022, 12:23 PM
RE: How to use Thread() ? - by deanhystad - May-13-2022, 07:06 PM
RE: How to use Thread() ? - by Frankduc - May-17-2022, 04:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Error SQLite objects created in a thread can only be used in that same thread. binhduonggttn 3 15,737 Jan-31-2020, 11:08 AM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020