TM1637 - scripted component
Quote from nemka on June 14, 2026, 10:54 am6 digit seven segment display controller with keyboard scan interface
Datasheet: https://raw.githubusercontent.com/avishorp/TM1637/master/docs/TM1637_V2.4_EN.pdf
Differencies:
- grid pins are normal outputs, not P-type open drain
- no internal pull-ups on K1 and K2 pins, you have to use external pull-ups if you read keysHow to add to component list: https://simulide.com/p/custom-components/
Demo code is from here: https://github.com/SteveMicroCode/PIC12F675-TM1637-Display-Code
6 digit seven segment display controller with keyboard scan interface
Datasheet: https://raw.githubusercontent.com/avishorp/TM1637/master/docs/TM1637_V2.4_EN.pdf
Differencies:
- grid pins are normal outputs, not P-type open drain
- no internal pull-ups on K1 and K2 pins, you have to use external pull-ups if you read keys
How to add to component list: https://simulide.com/p/custom-components/
Demo code is from here: https://github.com/SteveMicroCode/PIC12F675-TM1637-Display-Code

Quote from Defran on June 14, 2026, 7:08 pmHi, The real TM1637 uses "Two-wire serial interface (CLK, DIO)" protocol but you are using I2C in the file tm1637.as of Angel Script, can You comment on this, please?
Hi, The real TM1637 uses "Two-wire serial interface (CLK, DIO)" protocol but you are using I2C in the file tm1637.as of Angel Script, can You comment on this, please?
Quote from nemka on June 14, 2026, 7:37 pmI modified my I2C slave code for this componnent, so it's just naming.
This component uses the same protocol like the real TM1637.
I modified my I2C slave code for this componnent, so it's just naming.
This component uses the same protocol like the real TM1637.
Quote from Defran on June 14, 2026, 9:01 pm
I had seen it. Following your program, I´ve created an example for Arduino UNO; it´s a simple couter, but it works. Thanks for your work and your quick response.
I had seen it. Following your program, I´ve created an example for Arduino UNO; it´s a simple couter, but it works. Thanks for your work and your quick response.
