Spacy
Newbie level 4
Hey,
I am using this module.
It has a TM1673 chip on the back and I am trying to control it with my raspberry pi version b.
I am using this script with python 2.7.9.
The pins are conneted in the following way:
VCC -> 3V3
GND -> Ground
Clock(CLK) -> GPIO3(pin 15)
Data(DIO) -> GPIO4(pin 16)
I replaced the line:
display = TM1637(CLK=21, DIO=20, brightness=1.0)
with
display = TM1637(CLK=15, DIO=16, brightness=1.0)
But after running the script nothing shows up on the display and the program just shows the first normal output "1234 - Working? (Press Key)".
I also tested both GPIO, the 3V3 and Ground pins with an LED and they are all working.
Is the script outdated? If so could you please help me fix it.
Otherwise what could be the problem?
Ps: I also tested replacing the CLK and DIO numbers with the GPIO numbers but that didn't work aswell.
I am using this module.
It has a TM1673 chip on the back and I am trying to control it with my raspberry pi version b.
I am using this script with python 2.7.9.
The pins are conneted in the following way:
VCC -> 3V3
GND -> Ground
Clock(CLK) -> GPIO3(pin 15)
Data(DIO) -> GPIO4(pin 16)
I replaced the line:
display = TM1637(CLK=21, DIO=20, brightness=1.0)
with
display = TM1637(CLK=15, DIO=16, brightness=1.0)
But after running the script nothing shows up on the display and the program just shows the first normal output "1234 - Working? (Press Key)".
I also tested both GPIO, the 3V3 and Ground pins with an LED and they are all working.
Is the script outdated? If so could you please help me fix it.
Otherwise what could be the problem?
Ps: I also tested replacing the CLK and DIO numbers with the GPIO numbers but that didn't work aswell.
Last edited: