• 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....
  • Compiles & links differently only the 1st time...?!
    I have a C16x project that exhibits a behaviour that I don't understand. Basically, if I un-archive a project into an empty subdirectory and do a "build all" I get a certain HEX file. However, all subsequent...