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

Change references from A0 & A1 to DAC0 & DAC1 #180

Merged
merged 1 commit into from
Sep 20, 2019
Merged

Change references from A0 & A1 to DAC0 & DAC1 #180

merged 1 commit into from
Sep 20, 2019

Conversation

nekuneko
Copy link

New boards could have DAC0 & DAC1 on different pins. DAC0 & DAC1 pins are defined on each variant.h file, so it is not needed to reference to pins A0 & A1. With this change the code is more generic. Changes affect to analogWrite & analogRead functions.

New boards could have DAC0 & DAC1 on different pins. DAC0 & DAC1 pins are defined on each variant.h file, so it is not needed to reference to pins A0 & A1. With this change the code is more generic. Changes affect to analogWrite & analogRead functions.
@ladyada
Copy link
Member

ladyada commented Sep 20, 2019

good point! thank you for the great PRs :)

@ladyada ladyada merged commit 918379d into adafruit:master Sep 20, 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

Successfully merging this pull request may close these issues.

2 participants