Skip to content

Add digitalPinHasPWM macro for Arduino DUE #1342

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

Closed
cmaglie opened this issue Apr 2, 2013 · 2 comments
Closed

Add digitalPinHasPWM macro for Arduino DUE #1342

cmaglie opened this issue Apr 2, 2013 · 2 comments
Assignees
Labels
Board: Arduino Due Applies only to the Due Component: Core Related to the code for the standard Arduino API
Milestone

Comments

@cmaglie
Copy link
Member

cmaglie commented Apr 2, 2013

http://arduino.cc/forum/index.php/topic,156144.0.html

@reppr
Copy link

reppr commented Apr 3, 2013

I use:
#define digitalPinHasPWM(p) ((p) >= 2 && (p) <= 13)

@ghost ghost assigned cmaglie Dec 19, 2013
cmaglie added a commit that referenced this issue Jan 5, 2014
@cmaglie
Copy link
Member Author

cmaglie commented Jan 5, 2014

The macro will be available from 1.5.6.
C

@cmaglie cmaglie closed this as completed Jan 5, 2014
ollie1400 pushed a commit to ollie1400/Arduino that referenced this issue May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Board: Arduino Due Applies only to the Due Component: Core Related to the code for the standard Arduino API
Projects
None yet
Development

No branches or pull requests

2 participants