Shop OBEX P1 Docs P2 Docs Learn Events
How do I use the AUX port on the Propeller Activity Board? — Parallax Forums

How do I use the AUX port on the Propeller Activity Board?

Comments

  • I'm not sure what you're asking. The Activity Board is built with I/O pins 26 and 27 already connected to the A/V jack through a D/A converter and amplifier/filters. What is called the AUX port is just a connection to the A/V jack's video/microphone contact with no special circuitry attached.

    What do you want to do?
  • Mike Green wrote: »
    I'm not sure what you're asking. The Activity Board is built with I/O pins 26 and 27 already connected to the A/V jack through a D/A converter and amplifier/filters. What is called the AUX port is just a connection to the A/V jack's video/microphone contact with no special circuitry attached.

    What do you want to do?

    I want to run a simple code like this:

    #include "simpletools.h" // Include simpletools

    int main() // main function
    {
    freqout(4, 1000, 3000); // pin, duration, frequency
    }
    but I'm not sure how to change the pin to connect to the A/V port
  • PublisonPublison Posts: 12,366
    edited 2019-09-21 18:39
    As Mike said:
    The Activity Board is built with I/O pins 26 and 27 already connected to the A/V jack

    your program would reflect those pins
    freqout(26, 1000, 3000); // pin, duration, frequency
    
    or
    freqout(27, 1000, 3000); // pin, duration, frequency
    
    for Left or Right output on the A/V jack.
Sign In or Register to comment.