Export to GitHub

arduino - issue #924
Compile-time errors if you try to use a pin number that's out of range.
Posted on May 27, 2012 by
Happy Rhino
For example, using pin 50 on the Uno (which would work on the Mega).
This seems tricky to implement. We could try to parse the code, which is messy and complicated. We could also try to make all the relevant functions into macros, with pre-processor code to check for and range-check compile-time constant arguments.
Status: New
Labels:
Type-Enhancement
Priority-Medium
Component-IDE
Component-Core