Rover MEMs decoder

This decoder will automatically identify and decode the following 4 MEMS crank trigger patterns (numbers are the teeth and ‘-’ are gaps within the crank pattern)

The pattern also supports the secondary 5-3-2 tooth pattern used by Rover as well as normal single tooth patterns.

Additionally, functionality has been added to the  17-17- pattern so if a secondary (cam) signal is present it will allow accurate spark signal to be generate at the appropriate time. The secondary signal needs to be between 360 and 720 degrees in the 720 degree cycle.