8 years, 6 months ago.

How to use timer and ticker lpc1768

I've read the handbook trying to understand how to use timer and ticker, but i still can't resolve my problem. Into my program, i have a serial interrupt (when arrive a characater the micro controller does a certain action). When arrive, for example 'g', i have to show on a LCD a series of images, but during this showing i can't send a comand and i have to wait that showing ends. I want that micro controller jump to another action, even if the showing is going on. So i can't use 'for' in the comand 'g' and i think i have to use a timer or a ticker, but i don't know how.

Every help would be greatly appreciated. Thanks in advance. I insert the code too. /media/uploads/gab11/main.cpp

Be the first to answer this question.