consider start polarity, use 30 sine values

This commit is contained in:
Wolfgang Hottgenroth 2016-10-15 08:27:20 +02:00
parent a9f7889862
commit 97e0ffa84b
2 changed files with 21 additions and 11 deletions

Binary file not shown.

View File

@ -14,28 +14,38 @@
#include "inverter.h"
#define NUM_OF_SINE_VALUES 20
#define NUM_OF_SINE_VALUES 30
float sineValues[NUM_OF_SINE_VALUES] = {
0.1564,
0.1045,
0.2079,
0.3090,
0.4540,
0.4067,
0.5000,
0.5878,
0.7071,
0.6691,
0.7431,
0.8090,
0.8910,
0.8660,
0.9135,
0.9511,
0.9877,
0.9781,
0.9945,
1.0000,
0.9877,
0.9945,
0.9781,
0.9511,
0.8910,
0.9135,
0.8660,
0.8090,
0.7071,
0.7431,
0.6691,
0.5878,
0.4540,
0.5000,
0.4067,
0.3090,
0.1564,
0.2079,
0.1045,
0.0000
};