Hello,
After the last update of the TM1637 display component the program no longer works together with a timer,
no matter which timer . Without timer there is no problem, with timer no function. Tested with several chips,
currently with the PIC16F1825 and the PIC 16F1454. This is only due to the TM1637 display component or
the I2C component. How do I get it to work again?
thanks
Dirk
TM1637 (I2C) no function with timer
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: TM1637 (I2C) no function with timer
Hi Dirk,
Please can you post a program that demonstrates the problem and I will investigate for you. The last mod to the TM1637 component was to add a new macro that allowed the segments to be individually controlled. Nothing related to timer interrupts.
Please can you post a program that demonstrates the problem and I will investigate for you. The last mod to the TM1637 component was to add a new macro that allowed the segments to be individually controlled. Nothing related to timer interrupts.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: TM1637 (I2C) no function with timer
Hi Ben,
I've run some tests. I have 1x 1MHz timer and a port interrupt to trigger the timer and get the value of the timer and output it to an I2C display TM1637. There is probably a problem with the port interrupt of the PIC 16F1454.
The result is always a reset, I think it is a problem with the MCLR. The Int Pin of this chip is on the i2c port and you can't use both together.
With the PIC16F1825 it resulted that the chip together with the timer and the port interrupt became so slow that I had the impression that the chip does not work. The first output took about 25 seconds, a bit too slow I think. I changed the interrupt to the interrupt pin INT A2 and -voilà -, it works well now.
I think you should have a look at the PIC16F1454 again.
thank you
Dirk
I've run some tests. I have 1x 1MHz timer and a port interrupt to trigger the timer and get the value of the timer and output it to an I2C display TM1637. There is probably a problem with the port interrupt of the PIC 16F1454.
The result is always a reset, I think it is a problem with the MCLR. The Int Pin of this chip is on the i2c port and you can't use both together.
With the PIC16F1825 it resulted that the chip together with the timer and the port interrupt became so slow that I had the impression that the chip does not work. The first output took about 25 seconds, a bit too slow I think. I changed the interrupt to the interrupt pin INT A2 and -voilà -, it works well now.
I think you should have a look at the PIC16F1454 again.
thank you
Dirk