Hundred1906
Member
I assumed that by putting an output into PWM mode the voltage level on the pin would remain a constant when I varied the duty cycle. However I see the amplitude varying, which I think is not what is generally needed for modulating a LED.
It could easily be my rubbish scope setup but it is not easy to crosscheck so would appreciate an informed view.
I am using PWMOUT to initiate, then PWMDUTY to change the duty ratio. The pin output goes straight to a LED/Resistor (no capacitors involved). This is on 3 outputs c.0, c.2, b.4
BTW this is my first use of the PICAXE and I think it is fantastic!
It could easily be my rubbish scope setup but it is not easy to crosscheck so would appreciate an informed view.
I am using PWMOUT to initiate, then PWMDUTY to change the duty ratio. The pin output goes straight to a LED/Resistor (no capacitors involved). This is on 3 outputs c.0, c.2, b.4
BTW this is my first use of the PICAXE and I think it is fantastic!