o: ActiveSupport::Cache::Entry :@compressedF:@value"–"�
| irmrak4.c | ||
|---|---|---|
| 51 | 51 |
if (REV[strlen(REV)-1]=='$') REV[strlen(REV)-1]=0; |
| 52 | 52 |
printf("\r\n\r\n# Mrakomer %s (C) 2007 UST\n\r",VER); // Welcome message
|
| 53 | 53 |
printf("#%s\r\n",&REV[4]);
|
| 54 |
printf("#\r\n");
|
|
| 55 |
printf("# commands:\r\n");
|
|
| 56 |
printf("# h_eat, c_old, o_pen, l_ock, x_open, ");
|
|
| 57 |
printf("i_nfo, r_epeat, a_uto, s_single, u_pdate\r\n");
|
|
| 58 |
printf("#\r\n");
|
|
| 59 |
printf("# <ver> <sequence> <inside[1/100 C]> <sky[1/100 C]> <sky[1/100 C]> ");
|
|
| 60 |
printf("<ambient[1/100 C]> <heating[s]> <dome[s]> <check>\r\n\r\n");
|
|
| 54 |
// printf("#\r\n");
|
|
| 55 |
printf("# commands: h, c, o, l, x, i, r, a, s, u\r\n");
|
|
| 56 |
// printf("# h_eat, c_old, o_pen, l_ock, x_open, ");
|
|
| 57 |
// printf("i_nfo, r_epeat, a_uto, s_single, u_pdate\r\n");
|
|
| 58 |
// printf("#\r\n");
|
|
| 59 |
printf("# ver sequence inside[1/100 C] sky[1/100 C] sky[1/100 C] ");
|
|
| 60 |
printf("ambient[1/100 C] heating[s] dome[s] check\r\n\r\n");
|
|
| 61 | 61 |
|
| 62 | 62 |
//---WDT |
| 63 | 63 |
restart_wdt(); |
| ... | ... | |
| 245 | 245 |
reset_cpu(); // Update firmware |
| 246 | 246 |
} |
| 247 | 247 |
} |
| 248 |
// while(kbhit()) getc(); // Flush USART buffer |
|
| 249 | 248 |
CREN=0; CREN=1; // Reinitialise USART |
| 250 | 249 |
|
| 251 | 250 |
seq++; // Increment the number of measurement |