Shop OBEX P1 Docs P2 Docs Learn Events
Similar Command — Parallax Forums

Similar Command

SailerManSailerMan Posts: 337
edited 2006-10-25 23:56 in General Discussion
Is there a similar command in SX/B to the Propeller Command WAITPEQ?

If not what is the best way to emulate it.

Comments

  • BeanBean Posts: 8,129
    edited 2006-10-25 21:51
    What does WAITPEQ do ?

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap used 4-digit LED display with driver IC·www.hc4led.com

    Low power SD Data Logger www.sddatalogger.com
    SX-Video Display Modules www.sxvm.com

    "People who are willing to trade their freedom for·security deserve neither and will lose both." Benjamin Franklin
    ·
  • SailerManSailerMan Posts: 337
    edited 2006-10-25 22:48
    It waits for a Pin or set of pins to equal a desired State.

    Right now I am using

    Do Loop Until Pin=0
  • BeanBean Posts: 8,129
    edited 2006-10-25 23:56
    Yep, that is the way I would do it.

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap used 4-digit LED display with driver IC·www.hc4led.com

    Low power SD Data Logger www.sddatalogger.com
    SX-Video Display Modules www.sxvm.com

    "People who are willing to trade their freedom for·security deserve neither and will lose both." Benjamin Franklin
    ·
Sign In or Register to comment.