Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Continuous Loops<br />
• An embedded program never ends<br />
– It must contain a main loop than loops continuously<br />
– e.g. a washing machine program continually tests the switch inputs<br />
• A continuous loop is programmed using a loop with no condition<br />
– while(1){ }<br />
– while(1);<br />
– for(;;){ }<br />
– for(;;);<br />
Embedded Systems 2 2 - 14 C Programming