Motor bike ignition

Hi I am new and need help in code..lcd,led,button is ok but here is external interrupt and need precise timing... I read some were " blink without delay." :)

If any one have time and good will to more;pickup coil is on different position on different motor bikes...after I can put some RPM calculation or add temp...THNX