i want to change the time period of pwm
i knw timer but i am confused in PID output , that how pid output can be converted into our pwm
analogWrite (pin, pid_output) ;
i m not good programmer main problem is that
You have two options:1. pay someone to write a program for you2. learn to write the program.Arduino is a fine learning platform, with plenty of simple examples to help get you started.
The normal frequency for Arduino PWM is 490 Hz (I think). You can change that, as mentioned in Reply #5.When you have changed to frequency you can then use analogWrite() as normal. (By the way "analogWrite()" is not a very good description of what the function does - pwmGenerate() might have been a better name.)...R