I use licensed Flowcode6.
Is it possible to make a 1MHz interrupt at the B5 (it can also be some other way out) output with the Arduino Nano?
If so, how to do it?
Does anyone have an example of Flowcode timer code TMR0 or TMR1?
Thank you very much.
Timer interrupt 1MHz
Moderator: Benj
- Bachman
- Posts: 116
- Joined: Sun Sep 07, 2014 11:37 am
- Location: Hungary
- Has thanked: 9 times
- Been thanked: 53 times
- Contact:
Re: Timer interrupt 1MHz
1 MHz interrupt is extremly frequent to handle it correctly and use the MCU to other tasks. You should use a PWM output or a dedicated oscillator circuit.
-
- Posts: 40
- Joined: Thu Jun 21, 2012 8:53 am
- Has thanked: 10 times
- Been thanked: 2 times
- Contact:
Re: Timer interrupt 1MHz
Thanks for the reply.
Yes, 1MHz will probably be a really high frequency.
How to write a PWM program to be on P5 5KHz pin????
Can anyone show any example of a PWM program running at 5KHz-?
Thanks.