Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: zorgloub; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    2,718

    Re: SHIFTOUT with PIC12F675?

    To come back to my original question about the SHIFTOUT command, here's the program I'm trying to run.
    Unfortunately, I've noticed that the SHIFTOUT command doesn't produce any signals on the SDA...
  2. Replies
    11
    Views
    2,718

    Re: SHIFTOUT with PIC12F675?

    Ah?
    This unnderscore character has an influence for PBP?
    I usually used this character to identify my entries or outputs on the MCU!
  3. Replies
    11
    Views
    2,718

    Re: SHIFTOUT with PIC12F675?

    Isn't using the input or output commands for the ports used is not enough or does it work?
  4. Replies
    11
    Views
    2,718

    Re: SHIFTOUT with PIC12F675?

    Hello,
    And yet the compiler didn't give any errors!?

    I'm going to keep your suggested syntax anyway.

    Concerning my problem with the Shiftout command, I note that a problem existed with this...
  5. Replies
    11
    Views
    2,718

    Re: SHIFTOUT with PIC12F675?

    Hi,

    I'm trying to understand and learn:

    What might be the consequences if I set my ports as follows:

    Dio var GPIO.0
    or
    Symbol Dio = GPIO.0
  6. Replies
    11
    Views
    2,718

    Re: SHIFTOUT with PIC12F675?

    Here is the test program...




    '************************************************************************
    ' Programme: Shiftout Test PBP (c)Roger LEGAT 07-2023
    ' RX Tester---> PIC 12F675...
  7. Replies
    11
    Views
    2,718

    SHIFTOUT with PIC12F675?

    Hello to the Community.
    Is the Shiftout command possible for a PIC12F675?
    I ride a program using this command but my logic analyzer does not show me any pulse of Data and Clock!
    Thanks.
  8. Re: (Picbasic Pro Compiler) Distinct management of two servos per timer(s) of 12F675?

    Apart from this problem, I did positioning stability tests with several servos.
    If a servo is not stable, it is because the value of the pulses is not constant.
    If the gap between these impulses...
  9. Re: (Picbasic Pro Compiler) Distinct management of two servos per timer(s) of 12F675?

    Hi alan, here I am back from vacation :(
    I read your explanation relating to the "rearming-time" of two successive Pulsin.
    Note that here there is code between these two Pulsin (first the Gosub...
  10. Re: (Picbasic Pro Compiler) Distinct management of two servos per timer(s) of 12F675?

    Hi Alain,
    Thanks
    OK, I'll take it all back after the holidays ;)
  11. Re: (Picbasic Pro Compiler) Distinct management of two servos per timer(s) of 12F675?

    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.
  12. Re: (Picbasic Pro Compiler) Distinct management of two servos per timer(s) of 12F675?

    Hi Alan.
    Thanks for your interest in my question.

    This is a system used in RC sailing to control the genoa of a radio-controlled sailboat.

    The sail is controlled by two winches.

    The RC...
  13. Re: (Picbasic Pro Compiler) Distinct management of two servos per timer(s) of 12F675?

    Bien le bonjour Alain et... salutations de Champignac ;)


    Hello Alain.
    My application is to read two servo control signals from a classic radio -controlled receiver.
    These signals are...
  14. (Picbasic Pro Compiler) Distinct management of two servos per timer(s) of 12F675?

    Hello to the community

    I used to control my servos with a PIC12F675 (internal 4MHz clock) with the PULSOUT command, renewed every 20 msec.

    However, I could see, with a logical analyzer, that...
  15. Re: PIC12F675 at 20MHz ?? (Pic Basic Pro Compiler)

    Indeed, in all modesty, it must be recognized.
    I am rather a little Picaxe user after starting to "play" with Basic Stamp.
    I now try to convert my "simple" Picaxe programs with PBP to place it in a...
  16. Re: PIC12F675 at 20MHz ?? (Pic Basic Pro Compiler)

    OK .
    Well understood that it is not an command but a directive for the compiler.
    I will assimilate all of this !
    Thank you very much for these precious essential information.
  17. Re: PIC12F675 at 20MHz ?? (Pic Basic Pro Compiler)

    OK.
    If I note that: “Since Defining an OSC value has no effect on PULSIN. The resolution always changes with the actual oscillator speed.”

    What then is the true usefulness of this DEFINE OSC...
  18. Re: PIC12F675 at 20MHz ?? (Pic Basic Pro Compiler)

    So, I then have a few questions left about this command define OSC:

    1_The "DEFINE OSC 20" command would only make sense if you really use a 20mHz quartz?

    2_With a 20mHz quartz, is the simple...
  19. Re: PIC12F675 at 20MHz ?? (Pic Basic Pro Compiler)

    Hi ioannis.
    Ok, well seen.
    The internal oscillator being 4MHz and if we want to work with a definition at 20mHz, an external quartz is then necessary.
    This one connecting to GPIO4 and GPIO5 ......
  20. PIC12F675 at 20MHz ?? (Pic Basic Pro Compiler)

    Good evening to the community.

    PIC12F675 is not planned to operate with an external quartz.
    It does not have pin dedicated to an external quartz.
    The Datasheet specifies, however, that this...
  21. Re: 12F675 - How to configure the INTCON command to activate the various interrupts?

    Thank you all.
    I will try to assimilate all these notions.
    Have a good day.
  22. Re: 12F675 - How to configure the INTCON command to activate the various interrupts?

    Hi, Richard,
    I will carefully read your .txt files.
    But I really only master Basic... not really ASM
  23. Re: 12F675 - How to configure the INTCON command to activate the various interrupts?

    Hi,
    In fact, I'm more of a PICAXE user and I transform my "simple" codes with PBP to program small PICs.
    I was trying to use interrupts...
    The subtleties of the PICs are therefore quite nebulous...
  24. Re: 12F675 - How to configure the INTCON command to activate the various interrupts?

    Indeed, INTCON is not strictly speaking a "command" but a configuration of the bits of the INTCON register obtained by a "line of code" of the style INTCON = 10010000.

    I obviously consulted the...
  25. 12F675 - How to configure the INTCON command to activate the various interrupts?

    Good morning
    As I am new to understanding and using Interrupts, could you explain to me the configuration of the INTCON command for a small PIC12F675?
    The PBP manual gives as an example:
    INTCON...
Results 1 to 25 of 51
Page 1 of 3 1 2 3