• Time difference.
    I wan to find the time difference between Current time and the Previous time. In my project i maintain some time interval and that interval is checked by converting the both previous and current...
  • Time difference.
    I wan to find the time difference between Current time and the Previous time. In my project i maintain some time interval and that interval is checked by converting the both previous and current...
  • why the same function can not be called at different place and different time?
    main.c uchar xdata g_uhour,g_uminute,g_usecond; void TimeDisp(uchar h,uchar m,uchar s) { ... } void main(void) { ... while(1) { if (page==0) { ... TimeDisp(g_uhour,g_uminute,g_usecond);//a }...
  • why the same function can not be called at different place and different time?
    main.c uchar xdata g_uhour,g_uminute,g_usecond; void TimeDisp(uchar h,uchar m,uchar s) { ... } void main(void) { ... while(1) { if (page==0) { ... TimeDisp(g_uhour,g_uminute,g_usecond);//a }...
  • Difference between Simulated and real timings
    I am using an AT89C53-24 microcontroller with a 12.000 MHz crystal. My program uses hardware timer (T1-Mode 1, interrupts enabled) to provide a 20 mSec heartbeat, and hardware timer (T0-Mode 1, interrupts...