This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how do i use time elapsed as input on keil?

Hi all, i have been trying to use the time elapsed by the microcontroller(P89LPC936) as input for my function i write on keil. But is there any stated built in variable name for the time elapsed by the microcontroller? or if that doesn't exist can anyone suggest me any other way to do this?
thanking u in advance

Parents
  • if the device you are trying to program is the p89lpc936 itself, you can start the timer once the mcu goes into the state when you start counting the time. when it goes out of that state, you can stop the timer.

    you can also use rtc.

    if the device you aree trying to program is another mcu that is communicating with the p89lpc936, you can simply follow the communication protocol.

    it is really not clear what you are trying to do.

Reply
  • if the device you are trying to program is the p89lpc936 itself, you can start the timer once the mcu goes into the state when you start counting the time. when it goes out of that state, you can stop the timer.

    you can also use rtc.

    if the device you aree trying to program is another mcu that is communicating with the p89lpc936, you can simply follow the communication protocol.

    it is really not clear what you are trying to do.

Children
No data