View Single Post
Old 12-03-2010, 11:49 PM   #4084 (permalink)
DJBecker
EcoModding Apprentice
 
Join Date: Nov 2010
Location: Annapolis
Posts: 159
Thanks: 0
Thanked 32 Times in 27 Posts
Quote:
Originally Posted by Greg Fordyce View Post
The display is made by 4D Systems. There are no interrupts in their programming language, really it's pretty hopeless for anything other than graphics, but the graphics functions look pretty neat. So look-up table it is.
Does it have native floating point?

If so, the polynomial approach is good. Otherwise the linear interpolation is a much better approach. The ATMega is painfully slow with floating point calculations. Other similar platforms will be almost as slow.

I know what you mean about languages that are easy and look good, but are just a little too simple. My first Arduino program took about five minutes to write, and worked the first time. But immediately after, I was ready to risk overwriting the Arduino bootloader to try out a C program. (It didn't break the bootloader.)
  Reply With Quote