Rev 2159 | Rev 2406 | ||
---|---|---|---|
Line 39... | Line 39... | ||
39 | |
39 | |
40 | while (TRUE) |
40 | while (TRUE) |
41 | { |
41 | { |
42 | lcd_gotoxy(1,2); |
42 | lcd_gotoxy(1,2); |
43 | printf(lcd_putc,"T: %f K ",ds1820_read()+273.15); |
43 | printf(lcd_putc,"T: %f K ",ds1820_read()+273.15); |
- | 44 | printf("$T1.0 %f \r\n",ds1820_read()+273.15); |
|
44 | Delay_ms(100); |
45 | Delay_ms(100); |
45 | } |
46 | } |
46 | |
47 | |
47 | } |
48 | } |