TM1637 7seg LED Display

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
sartam
Normal user
Posts: 40
Joined: 13 Mar 2022, 21:25

TM1637 7seg LED Display

#1 Post by sartam » 18 Apr 2022, 20:11

Hello. I am trying to connect 2 displays with 4 digits on TM1637 each to their DIO and CLK pins. Can these displays be controlled individually?

User avatar
chromo23
Normal user
Posts: 821
Joined: 10 Sep 2020, 16:02
Location: germany

Re: TM1637 7seg LED Display

#2 Post by chromo23 » 18 Apr 2022, 22:24

You need to add the taskname in square brackets in front of the command.

here an example of setting the brightness of two displays where the tasks are called display1 and display2:

Code: Select all

 [display1].7db,10
 [display2].7db,10

sartam
Normal user
Posts: 40
Joined: 13 Mar 2022, 21:25

Re: TM1637 7seg LED Display

#3 Post by sartam » 19 Apr 2022, 07:48

Indexes 1 and 2 are tied to device numbers on the Devices tab?

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: TM1637 7seg LED Display

#4 Post by Ath » 19 Apr 2022, 08:33

No, they are the names you assigned to the Tasks.
/Ton (PayPal.me)

sartam
Normal user
Posts: 40
Joined: 13 Mar 2022, 21:25

Re: TM1637 7seg LED Display

#5 Post by sartam » 19 Apr 2022, 10:02

How and when will displays learn their names 1 and 2? When configuring the LED, it is not possible to assign a name.

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: TM1637 7seg LED Display

#6 Post by Ath » 19 Apr 2022, 10:36

The name you have assigned to the task:
Screenshot - 19-04-2022 , 10_32_06.png
Screenshot - 19-04-2022 , 10_32_06.png (31.72 KiB) Viewed 5171 times
(This unit does not have displays attached, it is just an illustration of the taskname mentioned)

The name must be unique per task, that is a requirement to be able to select the correct task, of course.
/Ton (PayPal.me)

sartam
Normal user
Posts: 40
Joined: 13 Mar 2022, 21:25

Re: TM1637 7seg LED Display

#7 Post by sartam » 19 Apr 2022, 11:23

Thank you. As I did not guess ... It's elementary.

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: TM1637 7seg LED Display

#8 Post by Ath » 19 Apr 2022, 14:17

Your original question is explained in this documentation page
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 31 guests