Shop OBEX P1 Docs P2 Docs Learn Events
Freq Out — Parallax Forums

Freq Out

ArchiverArchiver Posts: 46,084
edited 2001-07-11 06:14 in General Discussion
I am working on a project and have been thinking about using a
Basic Stamp. I need have 8 pins putting out a wave form simultaneously,
each at a different pitch. Is this possible with the freqout command?
Is it possible with another method?

thanks

--M

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-07-11 05:45
    Hi M,

    The FREQOUT command works on a single pin, sorry.
    You could however use thr DATA statement to define subsequent output states.
    Then rapidly output the values using OUTL=value (if you use ports P0-P7) or
    OUTH=value
    (if you use ports P8-P15). Be sure to define the used ports as outputs.
    Dependent on the required ratio for the wanted frequncies you have to figure
    out
    how many DATA values you require.
    Or use one of those PAK's from Al Williams. They can generate pulses
    independent from the stamp. http://www.al-williams.com/awce/pak8.htm

    Hope this helps

    Greetings peter



    Oorspronkelijk bericht
    Van: mitch@s... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=MLkJMiojiEjA4Ec4C3xhU8NALXhTAh3jzTg0Rr6E6SuRO2eUnpPzWQAuU0FaTgNv3lkkHxw21iLNNQ]mitch@s...[/url
    Verzonden: woensdag 11 juli 2001 05:44
    Aan: basicstamps@yahoogroups.com
    Onderwerp: [noparse][[/noparse]basicstamps] Freq Out

    I am working on a project and have been thinking about using a
    Basic Stamp. I need have 8 pins putting out a wave form simultaneously,
    each at a different pitch. Is this possible with the freqout command?
    Is it possible with another method?

    thanks

    --M



    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
  • ArchiverArchiver Posts: 46,084
    edited 2001-07-11 06:14
    The stamp will not do all 8 pins at once -- only one at a time. However, you
    *might* be able to do them in sequence for a very short period over and over
    to get a similar result.

    Original Message

    > I am working on a project and have been thinking about using a
    > Basic Stamp. I need have 8 pins putting out a wave form simultaneously,
    > each at a different pitch. Is this possible with the freqout command?
    > Is it possible with another method?
Sign In or Register to comment.