Go Down

Topic: [Question] How to generate finite number pulses?  (Read 242 times) previous topic - next topic


Hi everyone,

I want to generate exactly 10 pulses.
If i just use simple analogWrite function, sometimes it couldn't generate complete pulse like the attached graph.
If i use timer1 lib, i have no idea to generate number of pulses i want.

Is there any easy way to generate finite number of pulse?


I found the solution to use FastWrite to creat pulse train.


Go Up