Page 1 of 1

Messing with interruption or timers

Posted: Wed Jun 26, 2013 3:44 am
by brunosilva
Have any examples with interruption and leds.

Timers with leds or clock.

thank you

Re: Messing with interruption or timers

Posted: Wed Jun 26, 2013 7:36 am
by medelec35
Hi
If I was you I would first look at the Learning Centre:
http://www.matrixmultimedia.com/lc_index.php
Perhaps try the free online course to get yourself familiar with Flowcode.

There are loads of examples on these forums of using interrupts.
Here are justa few which is only scrating the surface:
http://www.matrixmultimedia.com/mmforum ... 891#p22891
http://www.matrixmultimedia.com/mmforum ... 933#p37397
http://www.matrixmultimedia.com/article.php?a=435
http://www.matrixmultimedia.com/article.php?a=55
http://www.matrixmultimedia.com/article.php?a=364
http://www.matrixmultimedia.com/article.php?a=365
http://www.matrixmultimedia.com/mmforum ... 60&#p34260
http://www.matrixmultimedia.com/mmforum ... =26&t=8660
http://www.matrixmultimedia.com/article.php?a=52
You can search using keywords like timer0, bit bang pwm timer etc.

When you have looked at the examples,
If you create a Flowchart for a specific task, and you get stuck them post your Flowchart with an explination of what your trying to achieve.
We can then help you further.

Martin

Re: Messing with interruption or timers

Posted: Thu Jun 27, 2013 2:01 am
by brunosilva
thank you

Re: Messing with interruption or timers

Posted: Thu Jul 11, 2013 4:48 am
by brunosilva
I wonder how and performed the calculation of the timer
I am using an example of the matrix.

TMR0
select clock source: internal clock (CLKO)
source edge select: high-to-low transitionn on TMR0 clock

1:8 prescaler rate

outcome and

8000000hz
976 563 hz frequency

I want to know how and made ​​the calculation.

And how do the LED flashes 2 seconds for the calculation to get it