CMP EMBEDDED.COM

Login | Register     Welcome Guest ESC Boston  esc india  Call for Abstracts
 

Listing 1: Main loop
while (alive)
{
get_sensor_data(); // read one or more sensors
compute_control(); // calculate control parameters based on 
// incoming data 
control_device(); // initiate control activity 
// read next group of sensors...calculate...control
}
Return to article
Embedded.com Career Center
Ready to take that job and shove it?
SEARCH JOBS

Browse all jobs

SPONSOR
RECENT JOB POSTINGS




 :