RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 1 of 1
Brightness scaling
Author Message
Reply with quote
Post Brightness scaling 
Looking at the ShiftX2 API, there seems to be a value that isn't set in any of the demo code, brightness scaling.

It's in the "Set Configuration Parameters Group 1" section here:
https://wiki.autosportlabs.com/ShiftX2

Does this value determine the brightness of the LEDs when in auto-brightness mode? I've implemented it in my script but havent had a chance to really test it. I hoping i can keep autodimming, but turn down the overall brightness a bit.

Here's my test code, not totally sure that it works:

Code:

--Brightness, 0-100. 0=automatic brightness
sxBright=0
sxBrightScale = 45 --0-255 default is 51

function sxInit()
  println('config shiftX2')
  setBaseConfig(sxBright,sxBrightScale)
  if sxOnInit~=nil then sxOnInit() end
end

function setBaseConfig(bright, brightscale)
  sxTx(3,{bright, brightscale})
end


Thanks,
Dan

View user's profile Send private message
Reply with quote
Post  
I have the same question.
What does brightness scale do and what is more or less bright?

View user's profile Send private message
Reply with quote
Post  
Hi,



1 = dimmest; 100 = brightest. 0 is automatic brightness using the built-in light sensor.

Wiki has been updated here:
https://wiki.autosportlabs.com/ShiftX2#Set_Configuration_Parameters_Group_1

You can experiment with the automatic brightness scaling value to adjust how the auto-brightness behaves. These are the only two settings available for controlling brightness.

Thanks,


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
For day light driving it works great, but because we do endurance and enventually have to drive at night, it becones too bright.

With the previous ShiftX lwe were able to use the time of day to lower the intensity almost all the way, but this ShiftX2 can not be lowered enough. It becomes blinding at night.

Any suggestions?

We put a reflective film on the windshield so the lights are not Heads Up Display. It is great. You can see it in the video bellow.

https://www.youtube.com/watch?v=pqbIjQRjIHs

Too bad at night it doesn't work that well.

View user's profile Send private message
Reply with quote
Post  
Have you tried setting it to the lowest brightness manually, or are you finding the automatic brightness control still too bright even at night?


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Reply with quote
Post  
I have tried both. The manual dimmest I can do with LUA is still too bright.
Is there a possible lower way and 1? I used to play with the frequency on the other ShiftX to go even lower.

View user's profile Send private message
Reply with quote
Post  
I will send it to your email. I get an error when I attach the file here. May be because of size.

View user's profile Send private message
Reply with quote
Post  
You can also play with the actual color value. e.g. "green" could be a very dim green, vs full brightness green.

When you manually set the brightness value, that is directly controlling the LED's brightness level, so - max dim is actually the dimmest it can be.


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum