This is the UI desktop application aimed at creating tables with DAC digital values for embedded systems
constuint16_tSin_12bit[128]={2047,2147,2248,2347,2446,2544,2641,2737,2830,2922,3012,3099,3184,3266,3346,3422,3494,3564,3629,3691,3749,3803,3852,3897,3938,3974,4006,4033,4055,4072,4084,4092,4094,4092,4084,4072,4055,4033,4006,3974,3938,3897,3852,3803,3749,3691,3629,3564,3494,3422,3346,3266,3184,3099,3012,2922,2830,2737,2641,2544,2446,2347,2248,2147,2047,1947,1846,1747,1648,1550,1453,1357,1264,1172,1082,995,910,828,748,672,600,530,465,403,345,291,242,197,156,120,88,61,39,22,10,2,0,2,10,22,39,61,88,120,156,197,242,291,345,403,465,530,600,672,748,828,910,995,1082,1172,1264,1357,1453,1550,1648,1747,1846,1947};
How it will work: the user has specified several points with x, y coordinates inside the period boundaries (0-360°).And the application will display the waveform on the chart. Then intermediate values between two adjacent points will be approximated.But this is just a theory. I know the application can determine the equation of a line between two points and calculate the value of any point on that line.This is too complicated a routine, so I'm looking for an easier way. If you know how to do this, I'm waiting for your response