We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Simple mistake in the readme. DAC0.CTRLA|=(1<<DAC_OUTEN_bm)|1<<(DAC_ENABLE); should be DAC0.CTRLA|=DAC_OUTEN_bm | DAC_ENABLE_bm;
The text was updated successfully, but these errors were encountered:
a8e2df9
Those are bit-masks, not bit numbers. The bitshifting: "1<<" needs to be removed.
Sorry, something went wrong.
No branches or pull requests
Simple mistake in the readme.
DAC0.CTRLA|=(1<<DAC_OUTEN_bm)|1<<(DAC_ENABLE);
should be
DAC0.CTRLA|=DAC_OUTEN_bm | DAC_ENABLE_bm;
The text was updated successfully, but these errors were encountered: