A way to remove lookup tables and calculate those values?


Results 1 to 8 of 8

Threaded View

  1. #6
    Join Date
    Feb 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default Re: A way to remove lookup tables and calculate those values?

    I tried using sin/cos calculations and it resulted in the same speed or maybe slightly slower. I am only using 9600 baud out. This may be where im hanging up. I didnt figure that it would be the bottleneck in the operation. The next test will be to bump up the baud rate and see what happens.

    EDIT: I changed over to the USART and set it up at 19200 and sure enough its displaying the gauge points twice as fast. Now, I have to tie the 2 USART transmit pins together because I have to initiate communication with the GPU at 9600 baud and then change the baud rate. I need to change the baud rate for one USART on the fly and re-DEFINE-ing the baud rate doesnt seem to work.
    Last edited by sccoupe; - 2nd May 2011 at 22:51.

Members who have read this thread : 0

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