PDA

View Full Version : How to use TMR command?



Samoele
- 28th January 2007, 10:14
Hello everybody!

Can somebody help me to write a part of program, which could use TMR. I would like to control LED diode, which would blink in half a second (0,5 s) iterval. Between, the rest of a program should work undisturbed (it should not work with pauses or wait 0,5 s between commands). I use PIC18F452.

START
_
-
-
-
-
-----> blink on
-
-
-

<------blink off
-
-

END




Thank you for your help.

Samo

keithdoxey
- 28th January 2007, 10:51
Do a search for "instant Interrupts"

There is an example in there that does exactly what you want.

Acetronics2
- 28th January 2007, 13:49
Hi,

The simplest choice is to buy a blinking Led ...

Alain

Samoele
- 28th January 2007, 15:20
hello,

Blink led is not prper in my case. My LED has to work all the time in some cases.

could you please paste a link with the same solution? (instant interrupt)

regards
Samo

skimask
- 28th January 2007, 17:03
could you please paste a link with the same solution? (instant interrupt)

regards
Samo

Could you please type the words instant interrupt into the search box?

mister_e
- 28th January 2007, 21:37
http://www.picbasic.co.uk/forum/showthread.php?t=3251&highlight=instant+interrupts