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

Fixed brightness problem, fixed Chinese translation #54

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

lionyhw
Copy link
Contributor

@lionyhw lionyhw commented Jul 6, 2020

Fixed the problem that the brightness can't be adjusted. The initial brightness is set to 40. It doesn't look so dazzling.

@lionyhw
Copy link
Contributor Author

lionyhw commented Jul 6, 2020

@pelikhan Please check this PR

for (let i = 0; i < 4; i++) {
pins.spiWrite(0);
}
for (let i = this.start * 4; i < (this._length + this.start) * 4; i++) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is there a 4 number here? what does it represent?

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

Successfully merging this pull request may close these issues.

2 participants