Search found 155 matches
- Fri Jul 31, 2026 9:58 pm
- Forum: General
- Topic: Question regarding the switch function, and a thought
- Replies: 4
- Views: 383
Re: Question regarding the switch function, and a thought
The attached helped but - - I can get the if block to work but my switch simply falls through
- Wed Jul 29, 2026 3:54 pm
- Forum: General
- Topic: Question regarding the switch function, and a thought
- Replies: 4
- Views: 383
Question regarding the switch function, and a thought
Is it possible to use a string for the switch function?
Thought:
Such a simple idea, but it would be nice to incorporate either automatic or manual file backups.
Thought:
Such a simple idea, but it would be nice to incorporate either automatic or manual file backups.
Re: PWM Woes
Did we resolve this?
- Mon Feb 16, 2026 1:48 pm
- Forum: General
- Topic: 16f18877 internal Zero Cross Detector
- Replies: 24
- Views: 10732
Re: 16f18877 internal Zero Cross Detector
Maybe an easier method would be to simply connect a dual optical isolator via resistor directly to the micro controller transformer on the secondary ac side. Your open collector outputs will switch at every zero crossing.
That signal is connected to the hardware interrupt which services the routine ...
That signal is connected to the hardware interrupt which services the routine ...
- Mon Feb 16, 2026 1:46 pm
- Forum: General
- Topic: 16f18877 internal Zero Cross Detector
- Replies: 24
- Views: 10732
Re: PWM Woes
Did this get sorted?
- Fri Jan 16, 2026 3:48 pm
- Forum: General
- Topic: Interrupts
- Replies: 2
- Views: 2947
Re: Interrupts
Martin! Thank you... Happy New Year.
- Wed Dec 03, 2025 9:20 pm
- Forum: General
- Topic: Interrupts
- Replies: 2
- Views: 2947
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 ...
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 ...
- Thu Sep 11, 2025 7:16 pm
- Forum: General
- Topic: PIC12f1840 speed selection
- Replies: 5
- Views: 4838
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
- Wed Sep 10, 2025 3:01 pm
- Forum: General
- Topic: PIC12f1840 speed selection
- Replies: 5
- Views: 4838
Re: PIC12f1840 speed selection
If the system timing is correct at 20mhz, would that not indicate internal oscillator to be correct?