Tahmid
Advanced Member level 6
- Joined
- Jun 17, 2008
- Messages
- 4,764
- Helped
- 1,799
- Reputation
- 3,590
- Reaction score
- 1,662
- Trophy points
- 1,413
- Location
- Berkeley, California
- Activity points
- 30,713
huzeeigat,
Also, understand the while(1) loop.
The condition for the above loop is ALWAYS true. So, everything within the braces/parentheses is always continuously executed.
If you use while(1) loop in the temperature routine, the controller will never exit from there.
Hope this helps.
Tahmid.
Also, understand the while(1) loop.
Code:
while(1)
{
//......
//......
}
The condition for the above loop is ALWAYS true. So, everything within the braces/parentheses is always continuously executed.
If you use while(1) loop in the temperature routine, the controller will never exit from there.
Hope this helps.
Tahmid.