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 ?
NEO.BRIGHTNESS
- Electroguard
- Posts: 846
- Joined: Mon Feb 08, 2021 6:22 pm
- Has thanked: 272 times
- Been thanked: 320 times
- cicciocb
- Site Admin
- Posts: 1964
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 422 times
- Been thanked: 1310 times
- Contact:
-
- Posts: 222
- Joined: Mon Feb 15, 2021 1:44 pm
- Has thanked: 123 times
- Been thanked: 132 times
Re: NEO.BRIGHTNESS
I've done dimming like this in my Cheerlights program. Dims without changing colour.
Rippling strings though . . . tricky
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