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

LPC2361

Hello,

can anyone tell me if can I use threads and timers (like in C/C++) on LPC2361 and where can I found some demo/examples/manuals about that?

Thanks

Parents
  • "when you run a function from one timer the other timers dont work"

    So don't do that, then!

    That was just a very simplistic example to give you the idea.

    "And some functions can take a long time"

    So, indeed, you would not call them direct from the timer code!

    You could, just as one example, set a flag to indicate that the timer has expired - and test that flag in your main loop...

Reply
  • "when you run a function from one timer the other timers dont work"

    So don't do that, then!

    That was just a very simplistic example to give you the idea.

    "And some functions can take a long time"

    So, indeed, you would not call them direct from the timer code!

    You could, just as one example, set a flag to indicate that the timer has expired - and test that flag in your main loop...

Children