The TM1637 has a single pin for Data input (commands, LED segments) and Data output (key status). This pin can be connected to mbed MOSI and MISO using a series/pull-up resistor. The device also needs an SCK pin. The protocol is ''I2C-like'', but not compatible to I2C (very strange, uses commands instead of address+RW bits, you could not have more than one device on the same bus since the I2C address is not used). The library currently implements a bit-banged serial protocol to control the TM1637 using three pins (MOSI, MISO, SCK). It should also be possible to modify the lib and use a single DigitalInOut pin instead of two separate pins for MOSI and MISO.Type: Electronic ComponentsPower Source: DCMaterial: Fiber GlassWeight: 6: tm1637brand: sunroboticsModel Number: SYN-6199ROHS Complaint: NoWidth: 1 cmHeight: 42 cmBattery Type: NANo Of Batteries: 1Battery Size: NAOther Power Features: DC 5V
Trustpilot
2 months ago
2 months ago