Shop OBEX P1 Docs P2 Docs Learn Events
Basic PWM program java — Parallax Forums

Basic PWM program java

940775940775 Posts: 8
edited 2010-08-08 11:48 in General Discussion
Hello,

Can someone show me or point me to a simple pulse width modulation program controlling the brightness of a LED, say at a 30% duty cycle?

Thanks in advance.

Comments

  • jmspaggijmspaggi Posts: 629
    edited 2010-08-08 11:48
    Hi,

    Not sure what PWM is, but does it simply mean you want the output pin to be at 1 about 30% of the time?

    JM
Sign In or Register to comment.