Urgent help needed

Urgent help. Im new to arduino. I was making a high rpm led flasher. My motive was to blink a led fast on certain RPM . I done this by getting pulse from ignition coil. But im getting a huge problem :confused: :confused: :confused: :confused: . I found a code somewhere from the internet which uses "pulseIn" function. But whenever i put this into the code and my led dosent blink accoding the time i wrote in delay under digitalwrite. It blink according to the pulseIn maybe 1 sex appx. Could somewhere tell me how can i get rid of this problem or any another type of code to count frequency which will not effect my whole code? Really need the code or solution

You can post the code here using code tags

Split from a totally irrelevant topic

In future do not hijack threads with your problems whether or not you consider it urgent.

Why is it urgent ? Did you put off starting the project hoping to find a ready made solution on line ?

What have you tried and what errors did you get ?
Post your code and full error messages here but not before you Read this before posting a programming question