Shop OBEX P1 Docs P2 Docs Learn Events
PWM syntax — Parallax Forums

PWM syntax

basicstampedebasicstampede Posts: 214
edited 2008-08-21 04:26 in General Discussion
Hello.· In SX/B, the statement

PWM led0, 250, 5

What does 5 mean?·

For BS2, I think it is the·maximum duration of the·pulse possible...in this case·(5 x 1 ms = 5 ms).

For SX/B, does 5 also mean 5 ms?

i.e. does SX/B have same resolution as BS2?

Thanks.

Comments

Sign In or Register to comment.