
Department of Computer Science and Electronics
20
Thus, the application requires at least six functions to perform the following tasks:
A initialization function
A function for making the calibration
A function for sending data to EEPROM
A function for sending the sensors’ states
A function for reading data from sensors
A main function
Initialize function
Any order from
PPC?
UC’s address in
the frame?
Calibration?
Calibrate
Send results
to EEPROM
Send sensors’
state
Yes
Yes
Yes
No
No
No
Figure 4-4. General flux diagrame
Comentários a estes Manuais