Rev 1706 Rev 1710
Line 1... Line 1...
1 /**** IR Mrakomer 4 ****/ 1 /**** IR Mrakomer 4 ****/
2 #define VERSION "4.1" 2 #define VERSION "4.1"
3 #define ID "$Id: irmrak4.c 1706 2010-12-05 19:36:36Z kakl $" 3 #define ID "$Id: irmrak4.c 1710 2010-12-07 07:17:36Z kakl $"
4   4  
5 #include "irmrak4.h" 5 #include "irmrak4.h"
6   6  
7 #bit CREN = 0x18.4 // USART registers 7 #bit CREN = 0x18.4 // USART registers
8 #bit SPEN = 0x18.7 8 #bit SPEN = 0x18.7
Line 150... Line 150...
150   150  
151 seq=0; // Variables initiation 151 seq=0; // Variables initiation
152 heat=0; 152 heat=0;
153 open=0; 153 open=0;
154 repeat=TRUE; 154 repeat=TRUE;
-   155 automatic=FALSE;
155   156  
156 welcome(); 157 welcome();
157   158  
158 tempa=ReadTemp(SA, RAM_Tamb); // Dummy read 159 tempa=ReadTemp(SA, RAM_Tamb); // Dummy read
159 temp=ReadTemp(SA, RAM_Tobj1); 160 temp=ReadTemp(SA, RAM_Tobj1);