piclist 2002\10\12\123542a >
Thread: Exponential function on PWM output
www.piclist.com/techref/microchip/ios.htm?key=pwm
flavicon
face BY : Wagner Lipnharski email (remove spam text)



Alan B. Pearce wrote:
{Quote hidden}

Translating Alan's good example of table generation, into Qbasic;

Open "SinVal.Txt" for output as #1
For N=0 to 358 step 2
   sinv = int(sin(n * 0.01745329251995) * 65535)
   Sinvh = int(sinv/256)
   Sinvl = sinv mod 256
   Print #1, "DT  "; sinvh;",";sinvl
   Next N
   Close #1


VV46NER

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email listservTakeThisOuTspam.....mitvma.mit.edu with SET PICList DIGEST in the body


<00b901c2720d$045f7020$9acc1b18@cfl.rr.com> 7bit

See also: www.piclist.com/techref/microchip/ios.htm?key=pwm
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Exponential function on PWM output

month overview.

new search...