In embedded systems, infinite loops are generally used. If I talked about a small program to control a led through the switch, in that scenario an infinite loop will be required if we are not going through the interrupt.
There are different ways to create an infinite loop, here I am mentioning some methods.
Answer:
In embedded systems, infinite loops are generally used. If I talked about a small program to control a led through the switch, in that scenario an infinite loop will be required if we are not going through the interrupt.
There are different ways to create an infinite loop, here I am mentioning some methods.
Method 1:
Method 2:
Method 3:
need an explanation for this answer? contact us directly to get an explanation for this answer