Continuous DTMFOut tone?


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2007
    Posts
    3

    Default Continuous DTMFOut tone?

    Hi

    I want to use DTMFOut to generate the DTMF tone as long as the button ist pushed. What's the best way to do this? It seems this is not meant to be done at all, setting OffTime 0 doesn't seem to work. Should it?

    Kind regards
    Martin

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    It's possible.
    But it's not as easy as just changing a parameter in the DTMFOUT statement.

    If the keypad is using ASM interrupts (not ON INTERRUPT), (RBC, portb change).

    Then when a key is pressed, the handler should set a flag that tells the main loop to start the DTMF with the Maximum ON time (65 seconds).

    When the key is released, the handler will simply set the system variable R1 = $FFFF.
    The DTMF command will then terminate.
    <br>
    DT

Similar Threads

  1. Replies: 4
    Last Post: - 15th January 2016, 12:23
  2. CTCSS Tone Decoder Sample Program
    By sozkarabacak in forum General
    Replies: 0
    Last Post: - 20th October 2009, 06:15
  3. DTMF dial tone
    By lerameur in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 20th October 2007, 01:40
  4. Replies: 14
    Last Post: - 26th September 2007, 05:41
  5. Dtmfout
    By bearpawz in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 26th January 2005, 16:59

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts