Shop OBEX P1 Docs P2 Docs Learn Events
IR — Parallax Forums

IR

HoffaHoffa Posts: 46
edited 2007-06-13 21:26 in Propeller 1
Hi

I just wondering how I translate this pbasic code into spin code:

   FREQOUT 0, 1, 38500

Comments

  • codemonkeycodemonkey Posts: 38
    edited 2007-06-13 14:03
    If you go to the Propeller object exchange from the Propeller main page and download BS2 Functions V1.3.5 it claims to have a FREQOUT component. I haven't used it, but until someone else chimes in, maybe this would get you started.

    G'luck.
  • edited 2007-06-13 21:26
    There's also examples of IR object and distance detection in the Counter Modules and Circuits Applications PE Kit Lab with a link on this page:

    http://forums.parallax.com/forums/default.aspx?f=25&m=156644

    The PEKbot download on that page has an IR Detector object that you can use. See PID Following Propeller Bot.spin for examples of calling that object's methods.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Andy Lindsay

    Education Department
    Parallax, Inc.
Sign In or Register to comment.