|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||
|
|
#define T1_SETP_ADDR 0 /* starting locations of set point */
#define T2_SETP_ADDR 4 /* values of temperatures */
:
/****************************************************
Global variables.
****************************************************/
float t1_setp, /* temperatures' set points */
t2_setp;
:
/****************************************************
Initialization of the system.
****************************************************/
void initialization(void)
{
:
EEPROM_sequential_read(&t1_setp,T1_SETP_ADDR,4);
EEPROM_sequential_read(&t2_setp,T2_SETP_ADDR,4);
:
}
|
|||||||||||||||||||||||||||||||||
|
Copyright © 2003 ChipCenter-QuestLink About ChipCenter-Questlink |
||||||||||||||||||||||||||||||||||