Commit 37c34e8c authored by David Andruczyk's avatar David Andruczyk

adding some comments for the new pattern system

parent 2d341d7f
......@@ -165,7 +165,8 @@
* the number of degrees the tooth is "high" followed by low for each tooth, The total MUST equal
* 360 for crank wheels and 720 for cam wheels
* i.e. for a wheel that is 40 degrees high, 50 deg low with 4 teeth it would be:
* 40,50,40,50,40,50,40,50
* 40,50,40,50,40,50,40,50, repating blocks are wrapped in {} following by a number indicating the number
* of repetitions fof that wheel type
*
* For "S" symetric pattern, you just need the number of teeth that the wheel should generate in a revolution
* i.e. 2 (dizzy 4 cylinder)
......@@ -178,7 +179,8 @@
* 36,13t,2m,16t,2m,1t,2m (Mazda 36-2-2-2)
*
* For Crank+Cam setups the CRANK pattern is always defined FIRST, then a colon charactor ":" and the cam
* pattern followed by a lowercase "c" in the same style as above
* pattern followed by a lowercase "c" in the same style as above, an optional trailing ",oXXX" allows the
* cam pattern to be defined at ANY arbritrary point, and then offset from the crank via this parameter
*
* Example:
* 60-2 bosch wheel (crank only)
......@@ -590,27 +592,30 @@
/* Lotus 36-1-1-1-1 wheel, missing teeth at
* 36,32,17 and 14
*/
// const unsigned char lotus_thirty_siz_minus_one_one_one_one[] PROGMEM = "CM1/2,36,13t,1m,2t,1m,14t,1m,3t,1m";
const unsigned char lotus_thirty_six_minus_one_one_one_one[] PROGMEM =
{ /* 36-1 */
1,0,1,0,1,0,1,0,1,0, /* teeth 1-5 */
1,0,1,0,1,0,1,0,1,0, /* teeth 6-10 */
1,0,1,0,1,0,0,0,1,0, /* teeth 11-15 */
1,0,0,0,1,0,1,0,1,0, /* teeth 16-20 */
1,0,1,0,1,0,0,0,1,0, /* teeth 11-13, 14 missing, then 15 */
1,0,0,0,1,0,1,0,1,0, /* teeth 16, 17 missing, 18-20 */
1,0,1,0,1,0,1,0,1,0, /* teeth 21-25 */
1,0,1,0,1,0,1,0,1,0, /* teeth 26-30 */
1,0,0,0,1,0,1,0,1,0, /* teeth 31-35 */
1,0,0,0,1,0,1,0,1,0, /* teeth 31, missing 32, 33-35 */
0,0 /* MISSING 36th tooth */
};
// const unsigned char honda_rc51_with_cam[] PROGMEM = "CS1/2,12:cM1/2,24,5m,1t,9m,1t,1m,1t,6m";
const unsigned char honda_rc51_with_cam[] PROGMEM =
{ /* Honda RC51 oddfire 90deg Vtwin with cam */
0,1,0,1,0,1,0,1,0,1, /* teeth 1-5 */
0,3,0,1,0,1,0,1,0,1, /* teeth 6-10, cam triggers on tooth 6 */
0,1,0,1, /* Teeth 11-12 */
0,1,0,1,0,1,0,3,0,1, /* 2nd rotation, teeth 1-5 (13-17), cam trigger on tooth 4(16)*/
0,3,0,1,0,1,0,1,0,1, /* teeth 6-10 (18-22), cam trigger on tooth 18 */
0,1,0,1 /* teeth 11-12, (23-24) */
1,0,1,0,1,0,1,0,1,0, /* teeth 1-5 */
3,0,1,0,1,0,1,0,1,0, /* teeth 6-10, cam triggers on tooth 6 */
1,0,1,0, /* Teeth 11-12 */
1,0,1,0,1,0,3,0,1,0, /* 2nd rotation, teeth 1-5 (13-17), cam trigger on tooth 4(16)*/
3,0,1,0,1,0,1,0,1,0, /* teeth 6-10 (18-22), cam trigger on tooth 18 */
1,0,1,0 /* teeth 11-12, (23-24) */
};
// const unsigned char thirty_six_minus_one_with_second_trigger[] PROGMEM = "CM1/2,36,35t,1m:cM1/2,36,16m,1t,19m";
/* 36-1 with second trigger pulse across teeth 33-34 on first rotation */
const unsigned char thirty_six_minus_one_with_second_trigger[] PROGMEM =
{ /* 36-1 */
......@@ -632,6 +637,7 @@
0,0 /* 36th MISSING tooth */
};
// const unsigned char thirty_six_minus_one_plus_one_with_cam_ngc4[] PROGMEM = "";
const unsigned char thirty_six_minus_one_plus_one_with_cam_ngc4[] PROGMEM =
{ /* 36-1+1 NGC-4 needs 1 deg resolution, chrysler 2.0/2.4 engines
* cam edges are at 26,62,98,134,170,314,350,368,422,458,494,530,674 and 710 dev
......@@ -661,6 +667,7 @@
};
//const unsigned char weber_iaw_with_cam[] PROGMEM = "CS1/8,4:cM2/3,4,2t,2m"; #???
const unsigned char weber_iaw_with_cam[] PROGMEM =
{ /*Weber marelli (Cosworth/Lancia) from jimstim
80 deg low, 10 deg high, Tooth 1
......@@ -677,6 +684,7 @@
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1 /* Teeth 7 and 8 */
};
//const unsigned char fiat_one_point_eight_sixteen_valve_with_cam[] PROGMEM = "CA{5,27,5,50,5,88}4:cA170,20,170,170,20,170,oXXX"; where "oXXX is the cam offset in relation to the crank pattern?
const unsigned char fiat_one_point_eight_sixteen_valve_with_cam[] PROGMEM =
{
/* Starting from TDC #1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment