JFA
Hi Im attempting to output PWM on pin nine and light up an led.

However my code does not seem to produced desired functionality:

[203128%2F8253690%2Fmceclip0]

Can any one tell me what the issue is and what is the default PWM frequency ?
Reply 0 0
thiagoralves
Make sure your circuit is wired properly. This code should produce a PWM wave on pin 9 with almost 100% duty cycle. Measure pin 9 output with an oscilloscope (better) or multimeter.
Reply 0 0
JFA
Hi thanks for the reply,

I redid the circuit and found a broken LED. There was a pwm signal sent, as you said there should be.
However one more question arose. The new LED is burning bright and multimeter shows 4,50volt.
That is even when i change the pwm value (UINT) zero:

[203128%2F8255036%2Fmceclip0]
Any ideas why PWM on pin 9 does not seem to respond to the initial value changes?
Reply 0 0
JFA
Still not reach a solution, i rechecked wiring several times, but cannot seem to change the duty cycle / uint value.
I believe 0-100% maps to 0-65xxx ?
Reply 0 0
JFA
Version upgrade seemed to fix this issue
Reply 0 0
Reply