GithubHelp home page GithubHelp logo

brightness of the LEDs level about synlight HOT 6 CLOSED

synless avatar synless commented on August 18, 2024
brightness of the LEDs level

from synlight.

Comments (6)

ShapovalovIgor avatar ShapovalovIgor commented on August 18, 2024

NeoPixelBus it seems and so works on 255 brightness truth confirmation I did not find, but replacing it with NeoPixelBrightnessBus and adding to the code strip.SetBrightness(255); after every mention strip.SetPixelColor() I did not see the difference. can you confirm this?

from synlight.

ShapovalovIgor avatar ShapovalovIgor commented on August 18, 2024

I mean that we always have 255 brightness when working with NeoPixelBus?

from synlight.

Synless avatar Synless commented on August 18, 2024

Hi Shapovalovlgor !

I believe that unless stated otherwise, the Neopixelbus lib is working with full brightness (that is 255).
What you are looking for must be here :

strip.SetPixelColor(n/3,RgbColor(red>>2,green>>2,(blue*3)>>4));

Since I am not using an external power supply but using the USB3.0 to power the NodeMCU and the LEDs I had to dim down every single LEDs here.

So this should do the trick for you if you are running your setup with a proper PSU :
strip.SetPixelColor(n/3,RgbColor(red,green,(blue*3)>>2));
This increases brightness 4 times compared to the line currently in Synlight.ino.
Of course you can also go with this one as well which doesn't dim blue at all (I find it better when there is less blue) :
strip.SetPixelColor(n/3,RgbColor(red,green,blue);

I will make sure to add this line in my code so it can be easier to spot. I may also use NeoPixelBrightnessBus instead, since it is available ...
So thanks for you post. Please let me know if you managed to make it work as you wanted.

from synlight.

ShapovalovIgor avatar ShapovalovIgor commented on August 18, 2024

from synlight.

Synless avatar Synless commented on August 18, 2024

I would be interested in having more information on the problem you have here.
It is currently working on Windows 10 and .Net Framework 4.5, but I just tested to change it in the properties to .Net Framework 4.7.1 and it worked too :

image

I will also test in on another PC soon.

from synlight.

ShapovalovIgor avatar ShapovalovIgor commented on August 18, 2024

At me it stupidly weighs in processes, but does not work in a background and even when in a configuration 'show' he does not want it is displayed. In this case, the previous version works fine.

from synlight.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.