Hi HenrikOlsson
Now Inderstand why stepcount1 should restart to zero.
(1) But I have been working on the code and and modify my look up table as you told me about the first value and the last value, but the problem of flat spot still remaing I didn't understand why is this?
(2)If I want to make acertain value of dutycylecle maximum (specific range of variation) let say(0- 80)% or (0-75%) should I do in the look up table or modify the formular?
formular : ((sin(degree*pi/180)+1) /2)*1023 for 10 bit resolution.
help me to solve this problems
Thanks
Bookmarks