You need to log in to create posts and topics.

TM1637 - scripted component

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

TM1637 demo

Uploaded files:
Fizik_S has reacted to this post.
Fizik_S

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?

I modified my I2C slave code for this componnent, so it's just naming.

This component uses the same protocol like the real TM1637.

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.

Uploaded files:
nemka has reacted to this post.
nemka

Simple counter example but using the library TM1637Display.h 

Uploaded files: