Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Max brightness and D8-D11 #73

Open
Phobos06 opened this issue Jan 28, 2018 · 4 comments
Open

Max brightness and D8-D11 #73

Phobos06 opened this issue Jan 28, 2018 · 4 comments

Comments

@Phobos06
Copy link

Hi all
this project is superb!

I'm tryng to do my lighsaber with the LSOS version 1.5.

My configuration is a Neopixel led string "single blade" (and DFPLAYER + MPU6050)

Everything works well but now i'm trying to understand how MAXBrightness works in the saber.
Can anyone explain it to me?

Another question.
In my brain, the 2 button(Main+Config) have a led.
If you are in CONFIG MODE, LED1 is powereod otherwise, if the lightsaber is on, the LED2 is Poweredon.

I've tryed to connect two led to ports D8...D11 (I've check more combination) and in the button class, where there are the "lighsaber poweron/poweroff" and "enter/exit configmenu" i add the "digitalWrite". i've changed also the value of LS1...LS6 in the class config (set all to 3)

But the STATUS LED are in anarchic status :) or better, they switch-on when the saber poweron.
(probably there is "something" that interfes.. but what?)

Any Help?

Thanks a lot
Have a nice day!
Alan

@jbkuma
Copy link

jbkuma commented Jan 28, 2018 via email

@Phobos06
Copy link
Author

Thanks for your fast reply to my post!

my question about MAX_BRIGHTNESS was more basic :)
how it works?

  • on software side? (so, the PWM data signal connected to my neopixel ledstring?) (in this case, i change the parameter parameters and i've finished)
  • on hardware side? for example there is an analogic output to connect to some Transistor? or something else?

About the second question, i'm wondering what D8-D11 are configured to do (and where) in order to force them to change the output when i want (and not when they want) :)

thanks again

Alan

@jbkuma
Copy link

jbkuma commented Jan 29, 2018 via email

@Phobos06
Copy link
Author

OK, i will try.

Yesterday evening i solved the STATUS LED problem.

Now i wil work on MAX_BRIGHTNESS side :)

Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants