add led by arduino ...
 
Notifications
Clear all

add led by arduino nano protocol bending code problem

1 Posts
1 Users
0 Reactions
560 Views
(@dralientv)
Active Member
Joined: 3 years ago
Posts: 2
Topic starter  

hello, I'm making a project for ETS 2 for displays
I used two Arduino boards for this:
1. Uno - matrix and lcd 20 x 4 connected here
2. Nano - 3 x TM1637 connected here + I want to add LED indicators signaling, for example, turn signals, lights on, handbrake on
And here the problem begins
The turn signals work but the brake light is on all the time, is the code able to look at the code and help?

Protocol message binding 

if([DataCorePlugin.GameRawData.Lights.BlinkerLeftOn], '0', '1')
+ ';'+
 
if([DataCorePlugin.GameRawData.Lights.BlinkerRightOn], '0', '1')
+ ';'+

if([DataCorePlugin.GameRawData.Drivetrain.ParkingBrake], '1' , '0')

code
https://files.fm/u/weck77xna#/view/cnwpgzs6g


   
Quote
Share: