Shop OBEX P1 Docs P2 Docs Learn Events
Alternative method to using freqout — Parallax Forums

Alternative method to using freqout

slackjackslackjack Posts: 25
edited 2008-12-12 16:43 in BASIC Stamp
Hi,

I need to generate a signal that goes to the IR transmitter that comes with the boe-bot. But I am not using pbasic, instead I am using C with a PIC uC. Does anyone know how i would generate an equivalent pulse signal to IR transmitter using C?

freqout 7, 1, 35800

Thank you.

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-12-12 04:32
    Well what that is doing is pulsing the led at 35800 hz for 1 ms on pin 7. Check your compiler for a command that will do the same or post your question on the Microchip forum.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • allanlane5allanlane5 Posts: 3,815
    edited 2008-12-12 13:22
    I would think that would be some kind of "libary call" on the PIC.
  • $WMc%$WMc% Posts: 1,884
    edited 2008-12-12 16:43
    This is why We use PBasic and not "C"


    ___________$WMc%_________But , Merry Xmas anyway

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    The Truth is out there
Sign In or Register to comment.