[go: up one dir, main page]

Mitsubishi 4G63 aka 4/2 aka NA/NB Miata pattern

Pattern for the Mitsubishi 4G63 distributor, otherwise known as Mitsubishi 4/2 and also used on NA/NB Miatas and MX5s is below.

 const unsigned char mitsubishi_4g63_4_2[] PROGMEM = 
   { //Split into 5 degree blocks (12 per line)
     1,1,1,1,1,1,1,1,1,1,1,3, /* 0-60 degrees */
     3,3,3,3,3,3,3,3,3,2,2,2, /* 61-120 degrees  */
     2,2,2,2,2,2,2,2,2,2,2,3, /* 121-180 degrees */
     3,3,3,3,3,3,3,3,3,1,1,1, /* 181-240 degrees */
     1,1,1,1,1,1,1,1,1,0,0,0, /* 241-300 degrees */
     0,0,2,2,2,2,2,2,2,2,2,2, /* 301-360 degrees */
     
     3,3,3,3,3,3,3,3,3,3,3,3, /* 361-420 degrees */
     3,3,3,3,3,3,3,3,3,2,2,2, /* 421-480 degrees */
     2,2,2,2,2,2,2,2,2,2,2,2, /* 481-540 degrees */
     3,3,3,3,3,3,3,3,3,3,1,1, /* 541-600 degrees */
     1,1,1,1,1,1,1,1,1,0,0,0, /* 601-660 degrees */
     0,0,0,0,0,0,0,0,0,0,0,0, /* 661-720 degrees */
   }; 

I wasn't sure about the correct naming scheme for the variable, so it probably needs to be changed.