I am really interested in custom timing and I am trying
to observe how it works, but unfortunately it does not work.
Search found 52 matches
- Wed Feb 04, 2026 11:16 am
- Forum: General
- Topic: Customizing TMR1
- Replies: 8
- Views: 240
- Wed Feb 04, 2026 11:09 am
- Forum: General
- Topic: Customizing TMR1
- Replies: 8
- Views: 240
Re: Customizing TMR1
The existing code does not generate any signal on pin A0. Why? The oscilloscope is connected to pin A0. Enable code: T1CON = 0x79; // Start timer with Internal clock source, prescaler = 1:8 INTCONbits.PEIE = 1; // Enable peripheral interrupts INTCONbits.GIE = 1; // Enable global interrupts PIE1bits....
- Wed Feb 04, 2026 9:58 am
- Forum: General
- Topic: Customizing TMR1
- Replies: 8
- Views: 240
Re: Customizing TMR1
Hello everyone, I didn't get any signals on pin A0. Can anyone help me? What is the mechanism of the custom code? T1CON is the register where I select the prescale bits, but where are the postscale bits selected? What is the register for setting the final value? Here I found the custom code: https:/...
- Tue Feb 03, 2026 12:11 pm
- Forum: General
- Topic: Customizing TMR1
- Replies: 8
- Views: 240
Re: Customizing TMR1
Thank you very much, it worked.
- Tue Feb 03, 2026 11:37 am
- Forum: General
- Topic: Customizing TMR1
- Replies: 8
- Views: 240
Customizing TMR1
Hello everyone,
I tried to make a custom TMR1 for PIC16F877A and visualize the signals on pin A0 on the oscilloscope, but it doesn't compile.
Can anyone help me? I'm using Flowcode 10.
I tried to make a custom TMR1 for PIC16F877A and visualize the signals on pin A0 on the oscilloscope, but it doesn't compile.
Can anyone help me? I'm using Flowcode 10.
test eep
Hello to everyone, The program sequence must run only once in the loop. I have the values key = 0 and key_ = 0 in the loop, but errors appeared and I did not understand why. In the test in this example I have key_ = 0, I write the key_ value to address 2, read address 2 and return the value in key...
Re: I2C test
Hi WingNut,
Thank you very much! It was in my eyes, but I couldn't see it.
Thank you very much! It was in my eyes, but I couldn't see it.
Re: I2C test
Where are the options to thank users? I don't see them.
Re: I2C test
As I mentioned before, the program works, I did the test on a 24LC512 eeprom and a PIC16F877A microcontroller.
Thank you to Mr. Martin for his involvement and the help that did not take long to come from him.
Thank you to Mr. Martin for his involvement and the help that did not take long to come from him.
Re: I2C test
Hi Martin,
It works perfectly, I'll come back later with a more concise flowchart, I have to delete the components that I no longer need.
It works perfectly, I'll come back later with a more concise flowchart, I have to delete the components that I no longer need.