Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Just looking at the table only... The distortion is occurring at 4 onwards... The common factor seems to be signed vs unsigned...
0 and 1 only go as high as 120 3 goes to 140 ( has the sine wave has a distorted top!!!)
4 and 5 will be distorted whilst 6 and 7 may appear as double the frequency..
const unsigned char sine[50] = {52,57,62,66,70,74,77,80,82,84,85,86,86,
86,85,83,81,78,75,72,69,65,61,56,52,
48,44,39,35,31,28,25,22,19,17,15,14,14,
14,15,16,18,20,23,26,30,34,38,43,48};