| Line 1... | Line 1... | 
      
        | 1 | /**** IR Mrakomer 4 ****/ | 1 | /**** IR Mrakomer 4 ****/ | 
      
        | 2 | #define VERSION "4.0" | 2 | #define VERSION "4.0" | 
      
        | 3 | #define ID "$Id: irmrak4.c 1290 2009-01-08 19:23:15Z kakl $" | 3 | #define ID "$Id: irmrak4.c 1291 2009-01-08 19:49:19Z kakl $" | 
      
        | 4 | #include "irmrak4.h" | 4 | #include "irmrak4.h" | 
      
        | 5 |   | 5 |   | 
      
        | 6 | #CASE    // Case sensitive compiler | 6 | #CASE    // Case sensitive compiler | 
      
        | 7 |   | 7 |   | 
      
        | 8 | #define  MAXHEAT        20       // Number of cycles for heating | 8 | #define  MAXHEAT        20       // Number of cycles for heating | 
      
        | Line 109... | Line 109... | 
      
        | 109 |    restart_wdt(); | 109 |    restart_wdt(); | 
      
        | 110 |   | 110 |   | 
      
        | 111 |    seq=0;         // Variables initiation | 111 |    seq=0;         // Variables initiation | 
      
        | 112 |    heat=0; | 112 |    heat=0; | 
      
        | 113 |    open=0; | 113 |    open=0; | 
      
        | 114 |    repeat=FALSE; | 114 |    repeat=TRUE; | 
      
        | 115 |   | 115 |   | 
      
        | 116 |    welcome(); | 116 |    welcome(); | 
      
        | 117 |   | 117 |   | 
      
        | 118 |    tempa=ReadTemp(SA, RAM_Tamb);       // Dummy read | 118 |    tempa=ReadTemp(SA, RAM_Tamb);       // Dummy read | 
      
        | 119 |    temp=ReadTemp(SA, RAM_Tobj1); | 119 |    temp=ReadTemp(SA, RAM_Tobj1); |