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

Airport count - index error #50

Closed
nesincg opened this issue Oct 18, 2023 · 1 comment
Closed

Airport count - index error #50

nesincg opened this issue Oct 18, 2023 · 1 comment

Comments

@nesincg
Copy link

nesincg commented Oct 18, 2023

I seem to run into this with 0 being a number or I miscount LEDs. Is there anyway to count the airports in the file first? i++ or something. I know I'm so green at this stuff. Just an idea.

Thanks for making the FAA change and winds fix so quickly.

@prueker
Copy link
Owner

prueker commented Oct 18, 2023

Good idea, I just updated the script to print out a warning if this happens and print the airport count vs initialized LED_COUNT.

As a side note - you can always set the LED_COUNT to be higher than the amount of airports you have, it's only a problem if it's lower.

@prueker prueker closed this as completed Oct 18, 2023
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