Shop OBEX P1 Docs P2 Docs Learn Events
spin code example — Parallax Forums

spin code example

Hello,

I want to ask question about spin code example, that found on forum

http://forums.parallax.com/discussion/83915/spin-code-examples-for-the-beginner-public-version/p


49MHz_Demo

<>quotes
PUB CTR_Demo

CTR.SynthFreq("A",TXPin, 49_700_000) 'SynthFreq({Counter"A" or Counter"B"},Pin, Freq)
<>end quote

If I want to use more that one frequency what I need to add in

script....


Robin.

Comments

  • tomcrawfordtomcrawford Posts: 1,126
    edited 2016-10-22 15:25
    To add a second freq, add

    Ctr.synthfreq("B"' , other pin, otherfreq)

    Edit: If you want to learn about the counters, here is a really good place to look.

  • Robin:

    We always take some pride on this forum in our welcoming of new members. I am afraid my response to your question was terse.

    Have a look at this thread to see more answers to your question.

    Welcome to Propellor land.
  • Hello,

    Thanks for the valuable information.

    Robin
Sign In or Register to comment.