PDA

View Full Version : Log10(value)



savnik
- 23rd May 2008, 21:50
I want to use the below code but i don't know how to use the Log.
Any help;

adval var word
volt var word

adval = ADIn 0
adval = (adval */ 500)>>2

Volt = log(adval)

skimask
- 24th May 2008, 04:50
I want to use the below code but i don't know how to use the Log.
Volt = log(adval)

Which version of PBP has the LOG function in it?

http://www.picbasic.co.uk/forum/showthread.php?t=6006&highlight=logarithm

savnik
- 24th May 2008, 09:24
Which version of PBP has the LOG function in it?

http://www.picbasic.co.uk/forum/showthread.php?t=6006&highlight=logarithm
Because there isn't LOG function in PBP i ask how to calculate.
The old site don't help me.