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...
Type: Posts; User: zorgloub; Keyword(s):
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...
Ah?
This unnderscore character has an influence for PBP?
I usually used this character to identify my entries or outputs on the MCU!
Isn't using the input or output commands for the ports used is not enough or does it work?
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...
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
Here is the test program...
'************************************************************************
' Programme: Shiftout Test PBP (c)Roger LEGAT 07-2023
' RX Tester---> PIC 12F675...
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.
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...
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...
Hi Alain,
Thanks
OK, I'll take it all back after the holidays ;)
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.
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...
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...
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...
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...
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.
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...
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...
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 ......
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...
Thank you all.
I will try to assimilate all these notions.
Have a good day.
Hi, Richard,
I will carefully read your .txt files.
But I really only master Basic... not really ASM
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...
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...
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...