thermferm/thermferm.c

changeset 204
9a14d6b2de7f
parent 200
a215ddaabbe2
child 205
ca18ff45deba
equal deleted inserted replaced
203:47e5109c7f53 204:9a14d6b2de7f
562 unit->PID_err_old = 0.0; 562 unit->PID_err_old = 0.0;
563 } 563 }
564 } 564 }
565 } 565 }
566 566
567 #ifdef HAVE_WIRINGPI_H
568 lcd_buf_show();
569 #endif
567 if (seconds == 60) { 570 if (seconds == 60) {
568 seconds = 0; 571 seconds = 0;
569 572
570 /* 573 /*
571 * Log temperature and status every minute if unit is active. 574 * Log temperature and status every minute if unit is active.
621 } 624 }
622 } 625 }
623 626
624 #ifdef HAVE_WIRINGPI_H 627 #ifdef HAVE_WIRINGPI_H
625 // FIXME: not in editmode. 628 // FIXME: not in editmode.
626 lcd_buf_show(); 629 lcd_buf_step();
627 #endif 630 #endif
628 631
629 usleep(100000); 632 usleep(100000);
630 633
631 } while (run); 634 } while (run);

mercurial