635 LED Control

M4T VW

New member
Hi All

I want to control the LED's on my 635 and use them as shift lights for rfactor.

I do a bit of VB coding and .net so have a breif outline of codes etc.

Take LED 1 as an example

led01_id_value=3946533252
led01_order=1
led01_smooth=0
led01_value_max=7500
led01_value_min=0

I understand the values there and when i press the excellerator the LED brightness goes up and comes back down again.
But can we go a step further and turn them on/off depending on the value?
Say to turn it on at 5000RPM (The car max ID is 7500)

Is this possible? What type of coding is used to write the .ini, Am i allowed to use "if" and "Then" commands?

Thanks
Mat
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.
 

CF Mark

Administrator
Using the led01_value_min value should do that.

Ie, to light up at 5000 RPM
led01_value_max=5000
led01_value_min=4999
 

M4T VW

New member
Thats got it, Looks great now! Keep up the good work!

I noticed on a few youtube videos that some people have a bar for the RPM. How do you convert the text into a bar?

Thanks for your help
Mat
 

CF Mark

Administrator
Got a link to that youtube vid so i can see exactly what your after?

The plugins report the value as both text and a number.
Use the same ID number.
 
Top