RCU Forums - View Single Post - New CDI - opensource project JMJ and Bigboat
Old 02-09-2010 | 04:55 PM
  #742  
Bigboat
Senior Member
 
Joined: Dec 2005
Posts: 548
Likes: 0
Received 0 Likes on 0 Posts
From: Alkmaar, NETHERLANDS
Default RE: New CDI - opensource project JMJ and Bigboat

If you don't fill in ALL yellow rectangles, there will be zero's into your code.

const char tspark[]={ 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 24, 25, 25, 25, 26, 26, 27, 26, 27, 27, 26, 27, 27, 26, 26, 26, 27, 26, 26, 27, 27, 27, 25, 25, 26, 26, 26, 24, 24, 24, 25, 25, 25, 22, 22, 23, 23, 23, 23, 24, 22, 22, 23, 23, 23, 24, 24, 24, 22, 22, 23, 23, 23, 23, 24, 24, 24, 24, 25, 23, 23, 23, 23, 24, 24, 24, 24, 24, 25, 25, 25, 25, 23, 23, 23, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 26, 26, 26, 23, 23, 24,
24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 27, 27, 27, 27, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 28, 28, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 28, 28, 29, 29, 29, 29, 29, 29, 29, 30, 30, 30, 30, 30, 30, 30, 30, 31, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 28, 28, 28};

I don't have zero's........all yellow rectangles have a value.

I'll try to explain.
The sheet calculate the value between two yellow rectangles.
If you don't fill in all values, the sheet will see this like a zero......nothing into the rectangle - no value - zero.