brewco/simulator.c

changeset 479
0e6a1163e6e3
parent 478
fe8bf61cde06
equal deleted inserted replaced
478:fe8bf61cde06 479:0e6a1163e6e3
116 if (now != last) { 116 if (now != last) {
117 last = now; 117 last = now;
118 /* 118 /*
119 * Each second 119 * Each second
120 */ 120 */
121 if (debug) 121 // if (debug)
122 fprintf(stdout, "HLT temp=%f plate=%f val=%d MLT temp=%f plate=%f val=%d Room %.1f loops=%d cool=%s\n", 122 // fprintf(stdout, "HLT temp=%f plate=%f val=%d MLT temp=%f plate=%f val=%d Room %.1f loops=%d cool=%s\n",
123 Config.simulator->hlt_temperature, Config.simulator->hlt_heater_temp, Config.simulator->hlt_heater_state, 123 // Config.simulator->hlt_temperature, Config.simulator->hlt_heater_temp, Config.simulator->hlt_heater_state,
124 Config.simulator->mlt_temperature, Config.simulator->mlt_heater_temp, Config.simulator->mlt_heater_state, 124 // Config.simulator->mlt_temperature, Config.simulator->mlt_heater_temp, Config.simulator->mlt_heater_state,
125 Config.simulator->room_temperature, loops, SIM_cooler ? "Yes":"No"); 125 // Config.simulator->room_temperature, loops, SIM_cooler ? "Yes":"No");
126 loops = 0; 126 loops = 0;
127 } 127 }
128 usleep(50000); 128 usleep(50000);
129 } 129 }
130 130

mercurial