Fixed screen number...
 
Notifications
Clear all

Fixed screen numbering on multiple arduinos

3 Posts
2 Users
0 Reactions
1,924 Views
(@deorum-contemptor)
New Member
Joined: 4 years ago
Posts: 2
Topic starter  

Hi to all!

I’m quite new to simracing and did a bit of arduino-construction with simhub, now including three arduinos. Everything works fine, but there is a problem i can’t solve.
One of my arduinos is controlling two tm1638 modules whith an other one controlling an i2c led device (16x2 ). All of them are working fine and the screen shows exactly the desired screens edited by ‚manage your arduino text displays‘. After closing simhub and even after rebooting the pc the com-ports stay the same but the numbering of displays switches.
Examples:
First startup --> I2C = 7seg/LCD 1 to 1 and tm1638 modules = 7 seg/LCD 2 to 3
Next startup --> I2C = 7seg/LCD 3 to 3 and tm1638 modules = 7 seg/LCD 1 to 2
This procedure shuffles my displays and since the i2c display has two lines whilst the tm1638 only has one line each, some information is lost.
Is there a way to fix the screen-numbering? The com-ports stay the same.
Thanks for helping me!


   
Quote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 736
 

Hi ! During sketch upload have you given unique names to each Arduino ? If you gave the same name simhub will get lost and mix them.

Nicolas


   
ReplyQuote
(@deorum-contemptor)
New Member
Joined: 4 years ago
Posts: 2
Topic starter  

Thanks for your answer!

Your’re right. All my Arduinos are named ‚SimHub Dash‘… I'll fix that and try again. Thank you for offering such a simple solution 😊


   
ReplyQuote
Share: