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

[AE-124] [PROBUPOC-694] Enable D15-D18 to reference digital pins on the Opta #701

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

aliphys
Copy link
Contributor

@aliphys aliphys commented Jun 28, 2023

Referencing pins D15 to D18 on the Opta leads to a Pin cannot be used as digital pin error. This is traced to the following lines in pins_arduino.h.

#define D15 #error Pin cannot be used as digital pin.
#define D16 #error Pin cannot be used as digital pin.
#define D17 #error Pin cannot be used as digital pin.
#define D18 #error Pin cannot be used as digital pin.

This PR allows for D15, D16, D17 and D18 to be used within Arduino sketches on the Opta by defining them accordingly.
image

@aliphys aliphys added the bug Something isn't working label Jun 28, 2023
@aliphys aliphys requested review from pennam and removed request for pennam June 28, 2023 16:18
@manchoz
Copy link
Contributor

manchoz commented Jul 3, 2023

LGTM

@aliphys aliphys merged commit ae2605f into arduino:main Jul 3, 2023
9 checks passed
@aliphys aliphys deleted the optaPinUpdate branch July 3, 2023 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants