need help! to beginner


Closed Thread
Results 1 to 28 of 28

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    PBP don't allow float point values.

    You could use HPWM out and PAUSEUS/PAUSE, or a variant of it.

    Some
    High pin
    PAUSE(us) HalfPeriodDelay
    LOW pin
    PAUSE(us) HalfPeriodDelay

    would replace Sound, Freqout, PWM etc etc hapilly here
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    Join Date
    Apr 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default figures

    Steve is there any way by any comant get figures like 0.2 point two point tree?

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Nope, not as far as I'm aware of.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Apr 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default two lookup2 commands

    Hi steve.
    how can i devide the table into two parts and put pause between them?

    Emil

  5. #5
    Join Date
    Apr 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default will it work?

    Yelp3:
    Lookup2 CounterA,[366,425,483,591,664,760,886,967,1070,1182,1330],Frequency
    pause 10
    lookup2 countera,[1330,1182,1070,967,886,760,664,591,483,425,366],Frequency

    Freqout PORTB.0,16,Frequency
    if PORTB.5=0 then
    CounterA = CounterA + 1
    if Countera < 22 then goto Yelp3
    endif

  6. #6
    Join Date
    Apr 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default anybody can help?

    anybody can help?

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    I would like to know all your delays and all your frequency, you could also build 2 lookup, one for the delays, one for the frequency.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  8. #8
    Join Date
    Apr 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default frequency

    Quote Originally Posted by mister_e View Post
    PBP don't allow float point values.

    You could use HPWM out and PAUSEUS/PAUSE, or a variant of it.

    Some
    High pin
    PAUSE(us) HalfPeriodDelay
    LOW pin
    PAUSE(us) HalfPeriodDelay

    would replace Sound, Freqout, PWM etc etc hapilly here
    Hi Steve,

    This is the best way I try but again I got problem and now i can not calculate the perods for Frequencies can you help me please ?
    is there any formula or software for it?

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