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

Incorrect values returned from the power() method #60

Open
microbit-robert opened this issue Apr 19, 2022 · 0 comments
Open

Incorrect values returned from the power() method #60

microbit-robert opened this issue Apr 19, 2022 · 0 comments

Comments

@microbit-robert
Copy link

The values returned from the power() method appear to rise too rapidly as LEDs are successively lit. This value also tops out well before all LEDs in a strip have been lit.

Please see the serial output in this example: https://makecode.microbit.org/31482-02041-35523-64723

ledoffset is defined inside the power() method but never used. I presume that this variable should be used in the following line:
p += this.buf[i + j]; as observed elsewhere in the code?

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

1 participant