hey can u explain how this subroutine works i mean what do they actually do by executing this routine i have attached the full note of subroutine if u want to go through that prof wants me to explain that with some real life senerio.
how do i relate this subroutine in real life , suppose i use a push button to perform different funtionality at different timeout does that work.
Can u suggest good link or book to study interupts for beginners. thank you for help
The first is by Nigel Goodwin, who is a long time member and moderator here. The second is also popular, but its author has started charging except for the entry level versions.
As for practical uses for delays, there are just too many to try to list. For a very long delay, such as 5 s, one use might be a sensor that detects when everyone has exited a room and then turns out the lights after 5 s or a seat belt warning after your car is put into "drive" when your seat belt is not buckled.