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.
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: https://github.com/AM-STUDIO/LOGITECH_USB_ADAPTER/issues/4