Messing with interruption or timers

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
brunosilva
Posts: 14
Joined: Sun Feb 24, 2013 4:02 am
Contact:

Messing with interruption or timers

Post by brunosilva »

Have any examples with interruption and leds.

Timers with leds or clock.

thank you

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Messing with interruption or timers

Post 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
Martin

brunosilva
Posts: 14
Joined: Sun Feb 24, 2013 4:02 am
Contact:

Re: Messing with interruption or timers

Post by brunosilva »

thank you

brunosilva
Posts: 14
Joined: Sun Feb 24, 2013 4:02 am
Contact:

Re: Messing with interruption or timers

Post 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

Post Reply