Skip to content

RMT: Fix in bitshift of NeoPixel example project #2986

New issue

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

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

Already on GitHub? # to your account

Merged

Conversation

david-cermak
Copy link
Contributor

Fixed bit shift in demo application of using RMT peripheral. Init data array to be transmitted was off by one, as for the first iteration (i==0) the mask was 1<<8, which resulted in shifted RGB value in color[] variable
Closes #2921

Fixed bit shift in demo application of using RMT peripheral. Init data array to be transmitted was off by one, as for the first iteration (i==0) the mask was 1<<8, which results in shifted RGB value in color variable
Closes espressif#2921
@me-no-dev me-no-dev merged commit 1c7e329 into espressif:master Jul 16, 2019
@me-no-dev
Copy link
Member

your favourite one char fixes hahahah

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

Successfully merging this pull request may close these issues.

Off-by-one Error In RMT Example
2 participants