-----Original Message-----
From: Nihat DAGDEMIR <seda@AKDENIZK.COM.TR>
To: PICLIST@MITVMA.MIT.EDU <PICLIST@MITVMA.MIT.EDU>
Date: Friday, September 11, 1998 6:20 PM
Subject: Sinus Table

Hi
I want to create sinus wave (64 half step) with pwm output
my peak value vary from 100 to 255
how can I calculate sinus value in optimal time
I try some code
with 20 Mhz 16c73
each calculation take 120 micro second
if you know faster code please help me.
Thank you.
 
 
Me, I would precalculate the values and put them in a lookup table.