|
TL32 Datasheet, PDF (10/31 Pages) List of Unclassifed Manufacturers – Real Time System Testing MIT 16.070 Lecture 32 | |||
|
◁ |
Some Exception Handling Methods
Without exception handling:
int y;
int get_data();
void light_LED();
while (1)
{
y = get_data();
if (y>100)
{
light_LED();
}
}
/* get data from sensor software*/
/* turn on LEDs */
/* end infinite loop */
hperry
5/4/01
|
▷ |