Efficient Fixed-Point Trigonometry For PIC16F


Results 1 to 13 of 13

Threaded View

  1. #7
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Actually, it is perfect!!!!
    They do something weird to signify the angle. For actual angle z, degrees = z * 90/256, or z/2.844444444444 = degrees. Output/1000 = the fractional result.

    Attached is part of their excel spread sheet showing inputs and outputs vs actuals.
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2134&d=1195310172">
    Many thanks for your time,

    Walter
    Attached Images Attached Images  
    Last edited by ScaleRobotics; - 17th November 2007 at 15:17.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts