Open V4P3 opened 10 years ago
The problem is that after replacing the x with the value, the formula is just ran through eval(), and there isn't a 'ln' function in javascript, it's actually Math.log() so you should use that instead
so using the formula:
0.00335402+(0.0002439*Math.log((1023/x)-1))
should work :)
Hi,
I wanted to try a temperature sensor on the arduino with the following formula:
When I hit SAVE, Heimcontrol freezes and throws me the following error:
How can I fix this error? Is there a possibility to catch the error before it freezes Heimcontrol?