Posted 27 December 2011 - 03:08 PM
The current floating point math library square root routine is somewhat on the heavy side when it comes to RAM and ROM.
i am using pic16f689 and version 6.81. i have to use sqrt function,
but it need 260 bytes ram. i have only 256bytes available.
is it my program mistake or else?
My best suggestion if convert the value to an integer (multiply by 100 for one decimal place) and then use the integer square root function.
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users