This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from tm1637 import TM1637Display | |
# Define the GPIO pins connected to the TM1637 display | |
CLK_PIN = 23 # GPIO23 | |
DIO_PIN = 24 # GPIO24 | |
def main(display_str=""): |
OlderNewer