/Designs/Thermometer/SW/PIC16F887/main.c
23,20 → 23,19
setup_timer_2(T2_DISABLED,0,1);
setup_ccp1(CCP_OFF);
setup_comparator(NC_NC_NC_NC); // This device COMP currently not supported by the PICWizard
setup_oscillator(OSC_4MHZ);
setup_oscillator(OSC_8MHZ);
 
 
printf("Simple Thermomether\r\n",);
printf("(c) Kaklik 2013\r\n");
printf("www.mlab.cz\r\n");
 
lcd_init();
 
lcd_putc("(c) Kaklik 2011");
lcd_putc("(c) Kaklik 2013");
lcd_gotoxy(3,2);
lcd_putc("www.mlab.cz");
Delay_ms(2000);
 
lcd_putc("\fReady..\n");
Delay_ms(100);
 
while (TRUE)
{
lcd_gotoxy(1,2);