My program flow is shown as below.
In first step I initialize LCD, Timers, ADC,etc...
Then i go for sensing device and take data from their.
Then i go for calculation on which i have sensed data.
Then i go for check key press,if any key press then take action according to that other wise go for display.
In last i go for send data to PC.
Except my ADC Sensor,other sensors like proximity(for RPM Sense),frequency sensor and key matrix are working on timers and interrupts.
In RPM sensor i used timer 0 as counter and timer 1 as timing purpose. same i used timer 1 as baud rate generator.
Now i explain actual what happen with me.
When i start my routine of Serial communication at the same time my other routine of sensing like RPM,Frequency, & Key sensing routines are not working but ADC sensing and Display routine are working properly, if i disable serial communication my program can working properly.
so i want to know what happens with my code?
you can see main routine at the last from their you can see my all subroutines.