(Picbasic Pro Compiler) Distinct management of two servos per timer(s) of 12F675?


Results 1 to 13 of 13

Threaded View

  1. #9
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default Re: (Picbasic Pro Compiler) Distinct management of two servos per timer(s) of 12F675?

    Quote Originally Posted by zorgloub View Post
    Hi Alan,
    The two channels follow each other:

    Switch on channel 7 and potentiometer on channel 8.
    The radio is a classic Robbe Promars.
    Thanks.
    Ok, got it ...

    PBP can't read two channels following each other without missing the second one ... because PULSIN needs some little " re-arming " time ... ( I make it short )

    so, we must use a turnaround to achieve that ...

    Code:
        PULSIN _Vertical,1,Vertical
        RCTIME _Horizontal,1,Horizontal
    a look to the manual will give you the reason why ...

    and may be 1 unit @ 4 Mhz to add to Horizontal to be straight true ...

    So, here, you have to re-write your sampling part without any command between the two channels signals sampling commands ...

    Alain
    Last edited by Acetronics2; - 18th June 2023 at 09:22.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. Replies: 2
    Last Post: - 28th May 2016, 14:09
  2. Experimenting with the PicBasic Pro Compiler
    By polymer52 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 17th May 2016, 19:17
  3. PicBasic Pro Compiler manual updated with bookmarks
    By mtripoli in forum Documentation
    Replies: 1
    Last Post: - 8th March 2011, 00:49
  4. Picbasic Pro compiler 2.60 error
    By Luckyborg in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 22nd January 2010, 05:55
  5. PicBasic Pro Compiler for 877A
    By iwill920ya in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 31st May 2004, 04:10

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