Shop OBEX P1 Docs P2 Docs Learn Events
[Boe-Bot] Is it possible to play 2 piezo buzzers at once? — Parallax Forums

[Boe-Bot] Is it possible to play 2 piezo buzzers at once?

ZerothZeroth Posts: 1
edited 2009-10-09 01:32 in Robotics
Basically, I'm trying to get 2 separate piezo buzzers to play independent frequencies on the same board. Is this possible? Basic Stamp doesn't seem to support multithreaded programs.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-10-09 01:32
    The Stamp does not support multithreaded programs. You can't get two separate piezo buzzers to play independent frequencies. You could use an external processor like the SoundPAL to offload one task.

    If you really need multiprogramming, have a look at the Propeller which has 8 identical independent processors on the chip plus shared memory and I/O.

    The SX does support multithreading by doing some tasks in an interrupt service routine and the Javelin Stamp also supports multithreading in Java.
Sign In or Register to comment.