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

num_leds not referenced for i and j #1

Closed
Martin-HiPi opened this issue Jan 22, 2021 · 2 comments
Closed

num_leds not referenced for i and j #1

Martin-HiPi opened this issue Jan 22, 2021 · 2 comments

Comments

@Martin-HiPi
Copy link

In the following file, instead of referencing num_leds, the value for i and j is fixed to 30:

num_leds = 30
pixels = ws2812b(num_leds, 0,0)
while True:
for i in range(30):
for j in range(30):

Thanks!
Martin

@benevpi
Copy link
Owner

benevpi commented Jan 22, 2021 via email

@benevpi
Copy link
Owner

benevpi commented Jan 25, 2021

Fixed.

@benevpi benevpi closed this as completed Jan 25, 2021
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