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

Add variables to adjust settings in one place #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

patatman
Copy link

I was having some issues with adjusting the pins.
I'm using a Piksey Atto (which is the smallest Arduino you can get), and couldn't use the default pins.
Adjusting them looked straight forward, but got me into some issues.

This PR makes it easier to define custom pins.

I've made them a variable in the start of the code, and use those variables further down. This way when someone adjusts the pins, they only need to adjust the pin numbers in one place.

Fixes: #4

@patatman
Copy link
Author

Oh, and should you accept this PR.
Could you add the label: hacktoberfest-accepted ? This would help me with my Hacktoberfest goal :-)

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

Successfully merging this pull request may close these issues.

Change pin on Arduino READ THIS!
1 participant