Skip to content

Add variables to adjust settings in one place#5

Open
patatman wants to merge 1 commit intoAM-STUDIO:masterfrom
patatman:feature/variable_pins
Open

Add variables to adjust settings in one place#5
patatman wants to merge 1 commit intoAM-STUDIO:masterfrom
patatman:feature/variable_pins

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