/Designs/Measuring_instruments/RMDS01C/SW/PIC16F887/main.c |
---|
116,7 → 116,7 |
count=((unsigned int32)of2<<20)+((unsigned int32)countH<<4)+(unsigned int32)countL; // concatenate |
printf("%010Lu\r\n", count); |
// printf("%010Lu\r\n", count); |
} |
#int_TIMER1 // Interrupf from overflow |
164,7 → 164,8 |
while(true) |
{ |
restart_wdt(); |
delay_ms(1000); |
// printf("%X %X %X %X\r\n", buffer[0],buffer[1],buffer[2],buffer[3]); |
delay_ms(1500); |
// printf("%X %X %X %X\r\n", buffer[0],buffer[1],buffer[2],buffer[3]); |
printf("%010Lu\r\n", count); |
} |
} |