need help! to beginner


Closed Thread
Results 1 to 28 of 28

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default 2 lookup

    Steve can you please show me how to buld 2 lookups? and I will work it out

    Emil

  2. #2
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    emilhs, I think he means something like this:

    --------------------------------------------------------------------------------
    Yelp3:
    Lookup2 CounterA,366,425,483,591,664,760,886,967,1070,1182 ,1330,1330,1182_
    1070,967,886,760,664,591,483,425,366],Frequency
    Lookup2 CounterA,366,425,483,591,664,760,886,967,1070,1182 ,1330,1330,1182_
    1070,967,886,760,664,591,483,425,366],Delay

    Then use the "Frequency" and the "Delay" variables together to make a sound (multiple ways) then do it again,

    Yelp4:
    Lookup2 CounterA,366,425,483,591,664,760,886,967,1070,1182 ,1330,1330,1182_
    1070,967,886,760,664,591,483,425,366],Frequency
    Lookup2 CounterA,366,425,483,591,664,760,886,967,1070,1182 ,1330,1330,1182_
    1070,967,886,760,664,591,483,425,366],Delay

    Dave Purola,
    N8NTA

  3. #3
    Join Date
    Apr 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default May be

    but i need function like when the button is unpressed counting stops

  4. #4
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    emilhs, Just place a test for the appropriate input bit between calls to the lookup table...

    Dave Purola,
    N8NTA

  5. #5
    Join Date
    Apr 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default let's see

    Thanks Dave i will try and let you know

Similar Threads

  1. Replies: 17
    Last Post: - 12th April 2014, 02:17
  2. pic24 beginner
    By robertpeach in forum General
    Replies: 23
    Last Post: - 13th August 2009, 11:57
  3. Replies: 10
    Last Post: - 2nd May 2009, 07:42
  4. Beginner trying to use arrays
    By captain in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 3rd November 2007, 07:20
  5. Pic ID Error please help (beginner)
    By ninja in forum General
    Replies: 4
    Last Post: - 11th August 2005, 17:54

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