• Time difference
    Hi all, I am new to 8051 microcontroller. Can anybody help me out how can i generate the time difference between two external events and get these values outside the controller?? Example, i want...
  • 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...
  • 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 }...
  • Access different address when debugging many times
    I am debugging my code with Keil v5, but I found that there was a reentrant function. Every time when I the break point went to a specific variable, the address of the variable was always different....
  • Stopwatch timer different from actual time
    In keil, MDK-ARM, there is stopwatch "t1", at bottom right. But time is shows varies significantly from actual timer when I see in CRO. Why is that.