You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is Issue 495 moved from a Google Code project.
Added by 2011-03-05T16:27:02.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.
Closed (Fixed).
Original labels: Type-Enhancement, Priority-Medium, Milestone-1.0, Component-Core
Original description
From Paul Stoffregen:
"1: The total number of digital pins, usable with pinMode, digitalRead, digitalWrite.
2: The total number of analog pins, usable with analogRead.
3: A macro that takes an analog pin as input and outputs the corresponding digital pin, or -1 if that analog pin does not have any corresponding digital pin, or -1 if the input is greater than the maximum analog pin number.
4: A macro that takes a digital pin as input and returns true if that pin has PWM capability, or false if it does not, or false if the input is greater than the maximum digital pin number."
This is in some ways a subset of issue 59 (http://code.google.com/p/arduino/issues/detail?id=59). I think most or all of these particular ones make sense given the more CPU-neutral build system and core we'll have in 1.0.
Look at the Firmata and ArduinoTestSuite libraries for examples of places that might need this functionality.
The text was updated successfully, but these errors were encountered:
This is Issue 495 moved from a Google Code project.
Added by 2011-03-05T16:27:02.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.
Closed (Fixed).
Original labels: Type-Enhancement, Priority-Medium, Milestone-1.0, Component-Core
Original description
From Paul Stoffregen:
"1: The total number of digital pins, usable with pinMode, digitalRead, digitalWrite.
2: The total number of analog pins, usable with analogRead.
3: A macro that takes an analog pin as input and outputs the corresponding digital pin, or -1 if that analog pin does not have any corresponding digital pin, or -1 if the input is greater than the maximum analog pin number.
4: A macro that takes a digital pin as input and returns true if that pin has PWM capability, or false if it does not, or false if the input is greater than the maximum digital pin number."
This is in some ways a subset of issue 59 (http://code.google.com/p/arduino/issues/detail?id=59). I think most or all of these particular ones make sense given the more CPU-neutral build system and core we'll have in 1.0.
Look at the Firmata and ArduinoTestSuite libraries for examples of places that might need this functionality.
The text was updated successfully, but these errors were encountered: