NEO.BRIGHTNESS

Give it a try, it costs you nothing !
Post Reply
User avatar
Electroguard
Posts: 179
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 40 times
Been thanked: 102 times

NEO.BRIGHTNESS

Post by Electroguard »

I thought I noticed mention of a NEO.BRIGHTNESS instruction being added when deep-diving through the Change Log for something else, but I wasn't able to find it again when looking for it later, nor find any mention of it in Annex Help... so now I am doubting myself.

It sparked my interest because it's something I've tried to do several times, but never managed to succeed to my satisfaction.
For instance, it's hard enough just to make an orange neo warning indicator dim up from Off to full brightness then dim back down again without changing colour, let alone sending waves of any colour mixture traveling along a neo string - whereas a Neo.Brightness instruction could make it easy.

So could NEO.BRIGHTNESS be a reality, or is it just in my dreams ?
cicciocb
Site Admin
Posts: 309
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 85 times
Been thanked: 197 times
Contact:

Re: NEO.BRIGHTNESS

Post by cicciocb »

The NEO brightness should be based on a gamma profile of the LED.
AndyGadget
Posts: 63
Joined: Mon Feb 15, 2021 1:44 pm
Has thanked: 24 times
Been thanked: 54 times

Re: NEO.BRIGHTNESS

Post by AndyGadget »

I've done dimming like this in my Cheerlights program. Dims without changing colour.
Rippling strings though . . . tricky :)

Code: [Local Link Removed for Guests]

NEO.SETUP 12
neo.strip 0,11,5,5,5

RedVal = 255
GrnVal = 255
BluVal = 0

for ldrdiv = 1 to 100
  neo.strip 0,11,redval \ ldrdiv, grnval \ ldrdiv, bluval \ ldrdiv
  pause 100 - ldrdiv
next ldrdiv

RedVal = 0
GrnVal = 255
BluVal = 255

for ldrdiv = 100 to 1 step -1
  neo.strip 0,11,redval \ ldrdiv, grnval \ ldrdiv, bluval \ ldrdiv
  pause 100 - ldrdiv
next ldrdiv
Post Reply