Chat freely about anything...

User avatar
By eriksl
#22944 No no no I did'nt write a library for PWM. It's in the SDK. Have a look at the include file pwm.h, it's all there.
User avatar
By FlyingHacker
#22945 Honestly, I do not know if the PWM is hardware or not. I used the PWM through the Arduino SDK with analogWrite. On the oscilloscope it looks like any regular PWM to me. I do not know what the resolution is. I did not try to measure it. You could probably filter the hell out of it with capacitors and then measure the voltage with a good DMM every step to see if it changes at 8 bit, 10 bit or greater.
User avatar
By tytower
#22947
eriksl wrote:No no no I did'nt write a library for PWM. It's in the SDK. Have a look at the include file pwm.h, it's all there.

Just been looking for that . Can u tell me where it lives?
I searched and got the Arduino site and looks like I've got some heavy reading to do
http://forum.arduino.cc/index.php?topic=117425.0
Last edited by tytower on Fri Jul 10, 2015 3:47 pm, edited 1 time in total.