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

Arduino pin 13 (PB5) is set to output after userSetup #8

Open
imoyer opened this issue Jul 25, 2019 · 1 comment
Open

Arduino pin 13 (PB5) is set to output after userSetup #8

imoyer opened this issue Jul 25, 2019 · 1 comment

Comments

@imoyer
Copy link
Member

imoyer commented Jul 25, 2019

The result is that pin 13 doesn't function as the user expects, as PB5 is set to an output transparently in the background. Suggest moving the LED port setup to before userSetup().

@imoyer
Copy link
Member Author

imoyer commented Jul 25, 2019

Thinking about it more, this order is actually important so that the user can assign these pins in userSetup(). This might just be something for the documentation.

@imoyer imoyer changed the title Arduino pin 13 is set to LED after userSetup Arduino pin 13 (PB5) is set to output after userSetup Jul 25, 2019
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