|
Re: math.h library
Quote:
|
Originally Posted by mightywombat
do you suggest reading all of the values from 0-90 (in fact you'd only need 0-45 because sin (46-90) = 1 - sin (0-45)) into a matrix or actually calculating them?
|
Check your math... I think that 0-90 degrees is the minimum you want to try.
Quote:
|
Originally Posted by mightywombat
I'm also confused as to the difference between ROM and RAM space. I know what the acronyms stand for but thats about it.
|
RAM is cleared to zero (at best) or random noise after a power up. ROM is non-volatile.
Quote:
|
Originally Posted by mightywombat
why no floating points? is it too much for it to handle? are there any other things i should stay away from calculation/variable wise?
|
I would suggest you do a search of these fori (I still like that word, Dr. J!) for other discussions on floating point. Bottom line: The PIC18C is not a floating point processor...
__________________
Mike Betts
Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013
As easy as 355/113...
|