Search found 148 matches

by alanwms
Wed Dec 03, 2025 9:20 pm
Forum: General
Topic: Interrupts
Replies: 1
Views: 83

Interrupts

Using PIC18f27q10. FC11 I have two interrupts. One is a hardware input interrupt. The other is a timer0 interrupt. I believe that priorities are settable but requires a few c code register adjustments such as (maybe): IPR0bits.INT0IP = 1; // High priority IPR0bits.TMR0IP = 0; // Low priority I don't...
by alanwms
Thu Sep 11, 2025 7:16 pm
Forum: General
Topic: PIC12f1840 speed selection
Replies: 5
Views: 2730

Re: PIC12f1840 speed selection

Thank you. I think I have selected the correct register number for the osc? Maybe not? I have attached my file
by alanwms
Wed Sep 10, 2025 3:01 pm
Forum: General
Topic: PIC12f1840 speed selection
Replies: 5
Views: 2730

Re: PIC12f1840 speed selection

If the system timing is correct at 20mhz, would that not indicate internal oscillator to be correct?
by alanwms
Tue Sep 02, 2025 4:00 pm
Forum: General
Topic: PIC12f1840 speed selection
Replies: 5
Views: 2730

PIC12f1840 speed selection

Flowcode version 9.

Running a short program at project option speed 32 (mhz). Delay times are double expected time. I changed to project option time to 20 mhz and the delay times are correct.

FYI
by alanwms
Wed May 14, 2025 9:35 pm
Forum: General
Topic: PWM Woes
Replies: 16
Views: 5025

Re: PWM Woes

I see -Thanks Chip! The selections in the interrupt component differentiate between IOC and Int0 so I think that selecting int0 should give me the individual action. However, selecting int0 allows all portA pins to run the interrupt macro. I suspect that FC sees no difference. Maybe it's flipped and...
by alanwms
Wed May 14, 2025 7:31 pm
Forum: General
Topic: PWM Woes
Replies: 16
Views: 5025

Re: PWM Woes

Side note - The hardware actually performs the PWM. Side note 2 - Selection of the INTO pin seems not to apply just to the pin. Seems that all pins (IOC) are involved. Regardless of which pins are activated, the interrupt macro runs.
by alanwms
Tue May 13, 2025 7:11 pm
Forum: General
Topic: PWM Woes
Replies: 16
Views: 5025

Re: PWM Woes

Perfect - Thank you M.
by alanwms
Tue May 13, 2025 1:27 pm
Forum: General
Topic: PWM Woes
Replies: 16
Views: 5025

Re: PWM Woes

I have no hardware at this time. I'm simply attempting to assure operation using the scope component so I can verify theoretical output. I may hook up the chip for test if I can't get the simulation scope to play. I assigned multiple pins to the scope thinking that the incorrect pin was allocated - ...
by alanwms
Mon May 12, 2025 10:33 pm
Forum: User Components
Topic: Tutorial to create components with FC10?
Replies: 9
Views: 24305

Re: Tutorial to create components with FC10?

A while ago, I created the attached worked example for creating a component. You might find this useful too. Worked example - creating a component.pdf I always fail with this at step 6. I tried it again today (After giving up months ago) thinking I had incapacity to read but failed again. Maybe I d...
by alanwms
Mon May 12, 2025 10:03 pm
Forum: General
Topic: PWM Woes
Replies: 16
Views: 5025

Re: PWM Woes

Scope meaning the simulated scope in FC