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

ColorfulLED.py #31

Open
andymuk opened this issue Aug 3, 2021 · 1 comment
Open

ColorfulLED.py #31

andymuk opened this issue Aug 3, 2021 · 1 comment

Comments

@andymuk
Copy link

andymuk commented Aug 3, 2021

Hey guys,

Playing with the RGB LED and it seems that the values are backwards?

To light one of the colours instead of a value of say 100, I have to use a value of 0.

Safe to say the random values make the colours look pretty awful as a result.

Is this correct?

Thanks

Andrew

@DenzelChen
Copy link
Contributor

Andrew,
If the RGBLED is common anode. then common end is connected to 3.3v. R, G, B light up when the voltaghe is lower than 3.3v. So:
red 0 100 100
blue 100 0 100
green 100 100 0
Sincerely,
Freenove Support
Denzel

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