This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Logarithm function implementation

Hello, we are trying to implement PWM function with an incrementing/ decrementing duty cycle using a logarithmic function rather than linear function. Is there any predefined function for logarithmic operation? Also, what data types are available to denote decimal or floating point variable.

Thank you.

Related