pwm library problem

I am facing errors in code,in which PWM library is used.getting error on these.
InitTimersSafe();
SetPinFrequencySafe

sketch_nov28a.ino (5.46 KB)

You will get more and faster help if you don't make if a pain in the ass to help you. Read the how to use this forum sticky to see how to post code and error messages. See #7 & 11. Post the entire text of the error messages.

Where did you get that library? None of the libraries that I find have either of those functions nor are they declared/defined in your code.

The two functions are not implemented, so the compiler must complain.

Learn to format the code or let the IDE do it (Ctrl-T)!

Did you install this library?

Hi,
Before you post your code in code tags </>, in the IDE select TOOLS then AUTO FORMAT, this will automatically indent your code to make it easier to read.

Thanks.. Tom.. :slight_smile: